Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 82.91 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 167.9 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.273e-05, allocations: 3.312 kB / 325.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004504/0.004527, allocations: 2.891 MB / 328 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.006114, allocations: 0.7748 MB / 328.8 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.006296, allocations: 8.469 kB / 328.8 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.006512, allocations: 56.75 kB / 328.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.006785, allocations: 123.2 kB / 329 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.007164, allocations: 131.5 kB / 329.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.007769, allocations: 473.1 kB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.008023, allocations: 96.91 kB / 329.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.008494, allocations: 267.5 kB / 329.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.00876, allocations: 140.9 kB / 330.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.3e-05/0.008833, allocations: 48.53 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.669e-05/0.00891, allocations: 44.12 kB / 330.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.009032, allocations: 95.52 kB / 330.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.00923, allocations: 136.8 kB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.009867, allocations: 0.5042 MB / 330.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.009871, allocations: 1.062 kB / 330.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009872, allocations: 0 / 330.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.009881, allocations: 0 / 330.9 MB, free: 12.87 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001488/0.01137, allocations: 0.6387 MB / 331.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.01142, allocations: 8.312 kB / 331.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.035e-05/0.01151, allocations: 43.73 kB / 331.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.01198, allocations: 258.4 kB / 331.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.012, allocations: 24.84 kB / 331.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.01206, allocations: 26.94 kB / 331.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008748/0.01294, allocations: 404.3 kB / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01295, allocations: 192 / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.01298, allocations: 15.47 kB / 332.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.01299, allocations: 5.938 kB / 332.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.01388, allocations: 307 kB / 332.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.01613, allocations: 1.09 MB / 333.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/0.01699, allocations: 242.6 kB / 333.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.01743, allocations: 135.1 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.01746, allocations: 2.438 kB / 334 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005867/0.01805, allocations: 250.6 kB / 334.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.01805, allocations: 0 / 334.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002335/0.02038, allocations: 0.5654 MB / 334.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.02049, allocations: 113.5 kB / 335 MB, free: 9.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.02093, allocations: 285.2 kB / 335.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.02097, allocations: 31.05 kB / 335.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.02115, allocations: 211.3 kB / 335.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.02121, allocations: 59.33 kB / 335.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.02132, allocations: 57.91 kB / 335.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.02149, allocations: 336.6 kB / 335.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.02191, allocations: 149.7 kB / 336.1 MB, free: 9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.0225, allocations: 296.4 kB / 336.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.02337, allocations: 339.5 kB / 336.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02338, allocations: 0.875 kB / 336.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001358/0.02474, allocations: 0.5063 MB / 337.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.02478, allocations: 36.39 kB / 337.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.02479, allocations: 2.469 kB / 337.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.02514, allocations: 63.34 kB / 337.3 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.02547, allocations: 77.11 kB / 337.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.02822, allocations: 1.5 MB / 338.9 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.02865, allocations: 62.66 kB / 338.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.02868, allocations: 8.906 kB / 338.9 MB, free: 6.703 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: 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.000241/0.02892, allocations: 164.1 kB / 339.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.02897, allocations: 32.03 kB / 339.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.02903, allocations: 28.73 kB / 339.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.02903, allocations: 1.125 kB / 339.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.02904, allocations: 1.281 kB / 339.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.02904, allocations: 4 kB / 339.2 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.03071, allocations: 0.6876 MB / 339.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.03071, allocations: 0 / 339.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.03094, allocations: 35.97 kB / 339.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.03119, allocations: 68.78 kB / 340 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.03121, allocations: 8 kB / 340 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.03335, allocations: 1.495 MB / 341.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03335, allocations: 0 / 341.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.03505, allocations: 0.5632 MB / 342 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.03511, allocations: 31.89 kB / 342.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.03516, allocations: 4 kB / 342.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.03545, allocations: 35.97 kB / 342.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.03554, allocations: 27.89 kB / 342.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.03556, allocations: 8 kB / 342.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.03578, allocations: 197.2 kB / 342.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03578, allocations: 0 / 342.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004182/0.0362, allocations: 87.83 kB / 342.4 MB, free: 3.109 MB / 302.1 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.0001469/0.03635, allocations: 107.2 kB / 342.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.03745, allocations: 462.6 kB / 343 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03746, allocations: 0 / 343 MB, free: 2.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.03797, allocations: 234.5 kB / 343.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.03839, allocations: 53.05 kB / 343.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.04132, allocations: 0.8179 MB / 344.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.04148, allocations: 159.5 kB / 344.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.04161, allocations: 26.97 kB / 344.2 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.04169, allocations: 24.5 kB / 344.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.04169, allocations: 0 / 344.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of Templates: time 0.009304/0.05099, allocations: 4.298 MB / 348.6 MB, free: 12.91 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.5727784633636475]