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.0007585/0.0007585, allocations: 84 kB / 21.43 MB, free: 3.129 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.002955/0.002955, allocations: 146.5 kB / 24.68 MB, free: 9.426 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 0.8179/0.8179, allocations: 173.4 MB / 201.2 MB, free: 9.434 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 1.513e-06/1.513e-06, allocations: 0 / 319.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.528e-05, allocations: 2.281 kB / 319.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002694/0.002709, allocations: 2.863 MB / 322.6 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.003515, allocations: 0.7442 MB / 323.3 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.003631, allocations: 11.88 kB / 323.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.003756, allocations: 51.5 kB / 323.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.003894, allocations: 123 kB / 323.5 MB, free: 2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004132, allocations: 127.7 kB / 323.6 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.004445, allocations: 477.9 kB / 324.1 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.004609, allocations: 95.48 kB / 324.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.004824, allocations: 263.4 kB / 324.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.004956, allocations: 139.6 kB / 324.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.92e-05/0.004995, allocations: 44 kB / 324.6 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.005031, allocations: 44 kB / 324.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.005093, allocations: 91.61 kB / 324.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.005184, allocations: 143.7 kB / 324.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.005518, allocations: 0.4985 MB / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00552, allocations: 0 / 325.4 MB, free: 104 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005521, allocations: 4 kB / 325.4 MB, free: 100 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005526, allocations: 0 / 325.4 MB, free: 100 kB / 282.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.0008354/0.006361, allocations: 0.6473 MB / 326.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.006391, allocations: 8.031 kB / 326.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.006448, allocations: 40.7 kB / 326.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.006713, allocations: 248.6 kB / 326.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.006729, allocations: 21.03 kB / 326.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.006764, allocations: 28.36 kB / 326.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.00721, allocations: 405 kB / 326.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.00722, allocations: 192 / 326.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.00724, allocations: 15.94 kB / 326.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.007248, allocations: 8 kB / 326.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.007674, allocations: 310.4 kB / 327.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.008817, allocations: 1.071 MB / 328.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.009231, allocations: 254.3 kB / 328.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.009443, allocations: 136.7 kB / 328.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.009461, allocations: 3.984 kB / 328.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.009936, allocations: 249.1 kB / 328.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.009937, allocations: 3.938 kB / 328.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001039/0.01098, allocations: 0.5633 MB / 329.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.01103, allocations: 110.8 kB / 329.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01121, allocations: 282.1 kB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.01123, allocations: 37.69 kB / 329.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.01132, allocations: 208.3 kB / 330 MB, free: 11.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.01135, allocations: 59.53 kB / 330.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.01141, allocations: 57.64 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.01149, allocations: 338.8 kB / 330.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.01168, allocations: 141.9 kB / 330.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.01191, allocations: 294.4 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.01229, allocations: 342.7 kB / 331.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.0123, allocations: 0 / 331.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006212/0.01292, allocations: 0.5053 MB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.01294, allocations: 37.7 kB / 331.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01295, allocations: 4 kB / 331.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.01314, allocations: 68.81 kB / 331.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01329, allocations: 67.89 kB / 331.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.01439, allocations: 1.512 MB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.01455, allocations: 59.75 kB / 333.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01456, allocations: 16.06 kB / 333.5 MB, free: 7.523 MB / 298.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.0001016/0.01466, allocations: 157.7 kB / 333.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.01469, allocations: 23.86 kB / 333.7 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.01471, allocations: 30.09 kB / 333.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01472, allocations: 4 kB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.01472, allocations: 0 / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01472, allocations: 0 / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.0155, allocations: 0.6907 MB / 334.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.0155, allocations: 0 / 334.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01561, allocations: 35.97 kB / 334.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.01572, allocations: 76.72 kB / 334.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01573, allocations: 4 kB / 334.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.01694, allocations: 1.487 MB / 336 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01694, allocations: 3.938 kB / 336 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.01763, allocations: 0.5633 MB / 336.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.01766, allocations: 27.77 kB / 336.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01768, allocations: 11.98 kB / 336.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.01781, allocations: 32.03 kB / 336.6 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.01787, allocations: 31.84 kB / 336.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01788, allocations: 7.984 kB / 336.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001252/0.018, allocations: 193.2 kB / 336.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.018, allocations: 0 / 336.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.01823, allocations: 87.84 kB / 336.9 MB, free: 3.887 MB / 298.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 9.069e-05/0.01832, allocations: 107.2 kB / 337 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.01888, allocations: 473.6 kB / 337.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01888, allocations: 128 / 337.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.01909, allocations: 230.5 kB / 337.7 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.01934, allocations: 52.41 kB / 337.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.02068, allocations: 0.8292 MB / 338.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.02077, allocations: 159.5 kB / 338.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.02083, allocations: 24.5 kB / 338.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02083, allocations: 0 / 338.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Templates: time 0.004638/0.02547, allocations: 5.352 MB / 344.1 MB, free: 12.59 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.174192791804671]