Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 145.8 kB / 24.98 MB, free: 8.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.023/1.023, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.292e-05, allocations: 6.25 kB / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004093/0.004126, allocations: 3.079 MB / 271.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.005427, allocations: 0.7597 MB / 272 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.005582, allocations: 7.938 kB / 272 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.00575, allocations: 51.5 kB / 272 MB, free: 2.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005954, allocations: 127 kB / 272.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.006268, allocations: 127.7 kB / 272.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.006747, allocations: 474 kB / 272.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005561/0.007304, allocations: 103.4 kB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.007647, allocations: 259.4 kB / 273.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.007859, allocations: 155.5 kB / 273.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.007916, allocations: 44 kB / 273.3 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.007969, allocations: 44 kB / 273.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.008041, allocations: 87.67 kB / 273.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.008186, allocations: 143.7 kB / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.008543, allocations: 287 kB / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.008547, allocations: 0 / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.008547, allocations: 0 / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.008553, allocations: 0 / 273.8 MB, free: 0.9531 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001041/0.009594, allocations: 0.7198 MB / 274.5 MB, free: 192 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.009636, allocations: 12.03 kB / 274.5 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.009746, allocations: 60.7 kB / 274.6 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.01011, allocations: 251.5 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.01014, allocations: 21.03 kB / 274.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.01019, allocations: 28.38 kB / 274.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.0107, allocations: 331.4 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01071, allocations: 192 / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.01074, allocations: 11.94 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01075, allocations: 8 kB / 275.2 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.011, allocations: 115.8 kB / 275.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.01258, allocations: 1.108 MB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.0129, allocations: 146.4 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.01305, allocations: 59.66 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.01307, allocations: 8 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.01331, allocations: 194.4 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.01331, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008109/0.01412, allocations: 284.9 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.01418, allocations: 114.8 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.01445, allocations: 316.5 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.01447, allocations: 25.7 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.01461, allocations: 266.9 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.01465, allocations: 55.53 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.01474, allocations: 63.31 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01489, allocations: 0.5079 MB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.01501, allocations: 65.95 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.01521, allocations: 269.1 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.01546, allocations: 228.6 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01546, allocations: 0 / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005257/0.01599, allocations: 336.4 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.01603, allocations: 33.69 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01603, allocations: 4 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.01628, allocations: 55.66 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.01648, allocations: 63.97 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.01784, allocations: 1.767 MB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.01804, allocations: 47.89 kB / 281.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.01806, allocations: 12 kB / 281.3 MB, free: 8.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.01818, allocations: 180.4 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01823, allocations: 31.81 kB / 281.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.01827, allocations: 30.11 kB / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01827, allocations: 0 / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01827, allocations: 0 / 281.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01828, allocations: 7.984 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.01902, allocations: 0.5706 MB / 282.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01902, allocations: 0 / 282.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.01916, allocations: 35.97 kB / 282.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.01932, allocations: 59.62 kB / 282.2 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01933, allocations: 0 / 282.2 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009359/0.02027, allocations: 1.763 MB / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02027, allocations: 0 / 284 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.02072, allocations: 381.5 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.02076, allocations: 31.73 kB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.0208, allocations: 12 kB / 284.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.02096, allocations: 27.97 kB / 284.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.02103, allocations: 23.97 kB / 284.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.02104, allocations: 4 kB / 284.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.0212, allocations: 221.1 kB / 284.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0212, allocations: 3.938 kB / 284.7 MB, free: 5.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.02156, allocations: 75.89 kB / 284.8 MB, free: 5.184 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.02169, allocations: 115.1 kB / 284.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.02219, allocations: 393.1 kB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02219, allocations: 0 / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.02237, allocations: 229.4 kB / 285.5 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.02276, allocations: 48.47 kB / 285.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.02436, allocations: 0.6537 MB / 286.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.175e-05/0.02442, allocations: 84.31 kB / 286.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.02452, allocations: 34.95 kB / 286.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.02459, allocations: 20.5 kB / 286.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02459, allocations: 0 / 286.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of Templates: time 0.007741/0.03233, allocations: 4.341 MB / 290.7 MB, free: 15.22 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.796063229907304]