Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 379 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2657, allocations: 53.41 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.005065/0.2707, allocations: 3.131 MB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.2724, allocations: 0.8181 MB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2726, allocations: 7.938 kB / 436.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.2728, allocations: 67.36 kB / 436.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.273, allocations: 134.9 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.2733, allocations: 127.9 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.2739, allocations: 0.494 MB / 437.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.2741, allocations: 121 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.2744, allocations: 191.4 kB / 437.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2747, allocations: 179 kB / 437.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.2747, allocations: 48 kB / 437.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2748, allocations: 52 kB / 437.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.854e-05/0.2749, allocations: 107.7 kB / 437.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.2751, allocations: 187.1 kB / 438.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.2757, allocations: 0.575 MB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2757, allocations: 4 kB / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2757, allocations: 0 / 438.6 MB, free: 260 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.2757, allocations: 0 / 438.6 MB, free: 260 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001075/0.2768, allocations: 0.63 MB / 439.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2769, allocations: 11.98 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2771, allocations: 56.64 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.2776, allocations: 276.8 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.2776, allocations: 21.38 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.2776, allocations: 44.12 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.2783, allocations: 471 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2784, allocations: 0 / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2784, allocations: 16 kB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2784, allocations: 8 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.2789, allocations: 279.9 kB / 440.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.281, allocations: 1.165 MB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.2814, allocations: 194.8 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2816, allocations: 72.84 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2816, allocations: 7.984 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.2816, allocations: 38.56 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.2816, allocations: 3.938 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001424/0.2831, allocations: 461.8 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.2831, allocations: 55.41 kB / 442.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2834, allocations: 281.7 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2834, allocations: 29.7 kB / 442.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.2836, allocations: 236.1 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.2837, allocations: 67.42 kB / 443 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.65e-05/0.2837, allocations: 53.66 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2839, allocations: 334.8 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.284, allocations: 67.97 kB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.2842, allocations: 144.5 kB / 443.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2846, allocations: 223.3 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2846, allocations: 3.938 kB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007198/0.2853, allocations: 358.7 kB / 444.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2853, allocations: 4 kB / 444.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2853, allocations: 4.281 kB / 444.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.2858, allocations: 113.6 kB / 444.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2859, allocations: 31.98 kB / 444.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/0.2894, allocations: 3.209 MB / 447.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2896, allocations: 31.77 kB / 447.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2896, allocations: 8 kB / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2898, allocations: 153.8 kB / 447.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.2899, allocations: 27.81 kB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.2899, allocations: 34.11 kB / 447.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2899, allocations: 3.938 kB / 447.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2899, allocations: 4 kB / 447.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2899, allocations: 4 kB / 447.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.2903, allocations: 253.2 kB / 448 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2903, allocations: 0 / 448 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.2904, allocations: 15.98 kB / 448.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.2907, allocations: 101.6 kB / 448.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2907, allocations: 8 kB / 448.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.294, allocations: 3.197 MB / 451.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.294, allocations: 0 / 451.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.2946, allocations: 368.9 kB / 451.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.2947, allocations: 31.78 kB / 451.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.2947, allocations: 12 kB / 451.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.2949, allocations: 19.98 kB / 451.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.295, allocations: 23.89 kB / 451.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.295, allocations: 4 kB / 451.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2952, allocations: 201.2 kB / 452 MB, free: 2.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2952, allocations: 7.938 kB / 452 MB, free: 2.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.2958, allocations: 107.7 kB / 452.1 MB, free: 1.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.2959, allocations: 106.8 kB / 452.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.2967, allocations: 435.9 kB / 452.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2967, allocations: 0.5625 kB / 452.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.2972, allocations: 353.1 kB / 453 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.2976, allocations: 36.72 kB / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2988, allocations: 0.6278 MB / 453.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.299, allocations: 177.4 kB / 453.8 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.2991, allocations: 23.42 kB / 453.8 MB, free: 112 kB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2991, allocations: 0 / 453.8 MB, free: 112 kB / 350.1 MB Notification: Performance of Templates: time 0.01422/0.3133, allocations: 6.993 MB / 460.8 MB, free: 9.117 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:time,vOut.v [Calling sys.exit(0), Time elapsed: 7.616207140963525]