Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001852/0.001852, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002262/0.002262, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.507/1.507, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.1 MB, free: 472 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.359e-05, allocations: 2.281 kB / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004818/0.004842, allocations: 2.766 MB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.00644, allocations: 0.7153 MB / 328.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.006608, allocations: 9.344 kB / 328.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.006804, allocations: 55.66 kB / 328.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.007067, allocations: 108.4 kB / 328.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.007403, allocations: 109.8 kB / 328.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.007992, allocations: 430.4 kB / 329.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.008231, allocations: 81.11 kB / 329.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.008598, allocations: 230.1 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.008866, allocations: 138 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.505e-05/0.008941, allocations: 39.72 kB / 329.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.621e-05/0.009017, allocations: 41.38 kB / 329.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.00913, allocations: 81.5 kB / 329.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.00933, allocations: 127.5 kB / 330 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.01004, allocations: 484 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01005, allocations: 0 / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01005, allocations: 1.469 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.01006, allocations: 0 / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001474/0.01153, allocations: 0.5942 MB / 331 MB, free: 12.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.01159, allocations: 14.14 kB / 331 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.0117, allocations: 34.09 kB / 331.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.01223, allocations: 253.3 kB / 331.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.01228, allocations: 23.41 kB / 331.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.01235, allocations: 25.66 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.01328, allocations: 360.4 kB / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.0133, allocations: 192 / 331.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.01333, allocations: 14.69 kB / 331.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.01336, allocations: 11 kB / 331.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.0141, allocations: 265.2 kB / 332 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.01596, allocations: 0.9227 MB / 332.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.01669, allocations: 205.3 kB / 333.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.01697, allocations: 88.55 kB / 333.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.017, allocations: 5.406 kB / 333.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000504/0.0175, allocations: 269 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.0175, allocations: 0 / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001816/0.01932, allocations: 459.1 kB / 333.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01942, allocations: 131 kB / 334.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.01979, allocations: 275.9 kB / 334.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01983, allocations: 31.23 kB / 334.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.02, allocations: 205.8 kB / 334.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.02005, allocations: 51.09 kB / 334.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.02015, allocations: 57.98 kB / 334.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.02032, allocations: 332.6 kB / 335 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.02072, allocations: 123 kB / 335.1 MB, free: 9.438 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/0.02124, allocations: 309.2 kB / 335.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.0223, allocations: 292.9 kB / 335.7 MB, free: 8.902 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.0223, allocations: 5.406 kB / 335.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001781/0.02408, allocations: 448.1 kB / 336.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.02415, allocations: 37.19 kB / 336.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.02416, allocations: 2.75 kB / 336.2 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.02478, allocations: 76.48 kB / 336.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.02516, allocations: 48.33 kB / 336.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.02813, allocations: 1.847 MB / 338.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.02852, allocations: 56.12 kB / 338.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.02854, allocations: 13.66 kB / 338.2 MB, free: 6.812 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.02877, allocations: 151.9 kB / 338.4 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.02883, allocations: 27.39 kB / 338.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.19e-05/0.02889, allocations: 36.72 kB / 338.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02889, allocations: 1.406 kB / 338.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.0289, allocations: 0 / 338.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.0289, allocations: 1.25 kB / 338.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.02918, allocations: 224.6 kB / 338.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02919, allocations: 0 / 338.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.02934, allocations: 23.31 kB / 338.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000327/0.02967, allocations: 80.62 kB / 338.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.02968, allocations: 1.125 kB / 338.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.03211, allocations: 1.828 MB / 340.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03211, allocations: 0 / 340.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.03303, allocations: 317.6 kB / 340.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.03308, allocations: 27.78 kB / 340.9 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.03313, allocations: 8 kB / 340.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.03338, allocations: 23.97 kB / 341 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.03347, allocations: 27.95 kB / 341 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.03349, allocations: 7.938 kB / 341 MB, free: 4.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.03373, allocations: 197.2 kB / 341.2 MB, free: 4.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03373, allocations: 4 kB / 341.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004843/0.03422, allocations: 87.83 kB / 341.3 MB, free: 4.117 MB / 302.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.03439, allocations: 103.2 kB / 341.4 MB, free: 4.008 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.03542, allocations: 437.9 kB / 341.8 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.03543, allocations: 4 kB / 341.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.03596, allocations: 238.5 kB / 342 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.03631, allocations: 52.92 kB / 342.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.03839, allocations: 0.5837 MB / 342.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.03855, allocations: 151.5 kB / 342.8 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.03866, allocations: 26.28 kB / 342.8 MB, free: 2.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.03874, allocations: 20.5 kB / 342.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.03874, allocations: 0 / 342.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Templates: time 0.009873/0.04861, allocations: 4.352 MB / 347.2 MB, free: 14.13 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.601355962455273]