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.001959/0.001959, allocations: 112 kB / 20.43 MB, free: 1.309 MB / 14.72 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.001395/0.001395, allocations: 187.8 kB / 23.72 MB, free: 4.555 MB / 14.72 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.511/1.511, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001688/0.001688, allocations: 47.91 kB / 371 MB, free: 9.305 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2601, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00476/0.2649, allocations: 3.11 MB / 426.3 MB, free: 11.53 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00159/0.2665, allocations: 0.787 MB / 427 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2667, allocations: 7.938 kB / 427.1 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.2669, allocations: 55.48 kB / 427.1 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.2672, allocations: 115 kB / 427.2 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.2676, allocations: 131.8 kB / 427.3 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005077/0.2681, allocations: 454.3 kB / 427.8 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2683, allocations: 103.5 kB / 427.9 MB, free: 9.891 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.2686, allocations: 187.3 kB / 428.1 MB, free: 9.707 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.2688, allocations: 187.2 kB / 428.3 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.2689, allocations: 44 kB / 428.3 MB, free: 9.48 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.2689, allocations: 44 kB / 428.3 MB, free: 9.438 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.517e-05/0.269, allocations: 95.62 kB / 428.4 MB, free: 9.344 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.2692, allocations: 195.1 kB / 428.6 MB, free: 9.152 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.2698, allocations: 499.3 kB / 429.1 MB, free: 8.668 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2698, allocations: 0 / 429.1 MB, free: 8.668 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.152e-06/0.2698, allocations: 0 / 429.1 MB, free: 8.668 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.382e-06/0.2698, allocations: 4 kB / 429.1 MB, free: 8.664 MB / 334.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.001455/0.2712, allocations: 0.6433 MB / 429.8 MB, free: 7.98 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2713, allocations: 12.03 kB / 429.8 MB, free: 7.969 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.2714, allocations: 40.7 kB / 429.8 MB, free: 7.93 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.2718, allocations: 264.9 kB / 430.1 MB, free: 7.648 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2719, allocations: 21.03 kB / 430.1 MB, free: 7.629 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.2719, allocations: 24.38 kB / 430.1 MB, free: 7.605 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.2728, allocations: 357 kB / 430.5 MB, free: 7.25 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2728, allocations: 0 / 430.5 MB, free: 7.25 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.2728, allocations: 12 kB / 430.5 MB, free: 7.238 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2728, allocations: 4 kB / 430.5 MB, free: 7.234 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009203/0.2737, allocations: 310.4 kB / 430.8 MB, free: 6.93 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.2761, allocations: 1.222 MB / 432 MB, free: 5.629 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.2769, allocations: 246.3 kB / 432.2 MB, free: 5.379 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.2774, allocations: 132.8 kB / 432.4 MB, free: 5.246 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2774, allocations: 3.938 kB / 432.4 MB, free: 5.242 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.2779, allocations: 201.1 kB / 432.6 MB, free: 5.027 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.522e-06/0.2779, allocations: 0 / 432.6 MB, free: 5.027 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.002259/0.2802, allocations: 0.5642 MB / 433.1 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.2803, allocations: 102.8 kB / 433.2 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.2806, allocations: 300.5 kB / 433.5 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2806, allocations: 33.7 kB / 433.6 MB, free: 3.992 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.2808, allocations: 212.3 kB / 433.8 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.2809, allocations: 63.48 kB / 433.8 MB, free: 3.719 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.281, allocations: 53.69 kB / 433.9 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.2811, allocations: 334.8 kB / 434.2 MB, free: 3.324 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.2815, allocations: 120.2 kB / 434.3 MB, free: 3.203 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.282, allocations: 213.3 kB / 434.5 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008254/0.2828, allocations: 341.3 kB / 434.9 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2828, allocations: 0 / 434.9 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.001381/0.2842, allocations: 489.3 kB / 435.4 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.2842, allocations: 33.7 kB / 435.4 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2843, allocations: 4 kB / 435.4 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.2846, allocations: 68.81 kB / 435.5 MB, free: 1.973 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.285, allocations: 71.89 kB / 435.5 MB, free: 1.902 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.2874, allocations: 1.53 MB / 437.1 MB, free: 256 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.2878, allocations: 59.8 kB / 437.1 MB, free: 196 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2879, allocations: 15.94 kB / 437.1 MB, free: 180 kB / 334.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.0002097/0.2881, allocations: 153.8 kB / 437.3 MB, free: 16 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.2881, allocations: 35.84 kB / 437.3 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.2882, allocations: 26.09 kB / 437.3 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2882, allocations: 4 kB / 437.3 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.2882, allocations: 0 / 437.3 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2882, allocations: 4.078 kB / 437.3 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.2899, allocations: 0.772 MB / 438.1 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2899, allocations: 0 / 438.1 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2902, allocations: 39.97 kB / 438.2 MB, free: 15.08 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.2904, allocations: 64.78 kB / 438.2 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2905, allocations: 8 kB / 438.2 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.2927, allocations: 1.521 MB / 439.8 MB, free: 13.37 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2927, allocations: 8.031 kB / 439.8 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.2943, allocations: 0.5604 MB / 440.3 MB, free: 12.78 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.2944, allocations: 31.81 kB / 440.4 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.2944, allocations: 4 kB / 440.4 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.2948, allocations: 31.97 kB / 440.4 MB, free: 12.71 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.2948, allocations: 23.95 kB / 440.4 MB, free: 12.69 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.2949, allocations: 7.938 kB / 440.4 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002447/0.2951, allocations: 215.1 kB / 440.6 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.2951, allocations: 0 / 440.6 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000426/0.2955, allocations: 83.84 kB / 440.7 MB, free: 12.39 MB / 350.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.0001485/0.2957, allocations: 103.2 kB / 440.8 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001116/0.2968, allocations: 437.3 kB / 441.2 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2968, allocations: 3.938 kB / 441.2 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.2973, allocations: 239.3 kB / 441.5 MB, free: 11.58 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2978, allocations: 56.84 kB / 441.5 MB, free: 11.53 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.301, allocations: 0.8568 MB / 442.4 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3015, allocations: 0.7638 MB / 443.2 MB, free: 9.848 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001495/0.3016, allocations: 34.95 kB / 443.2 MB, free: 9.812 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.3017, allocations: 31.44 kB / 443.2 MB, free: 9.781 MB / 350.1 MB
Notification: Performance of SimCode: time 1.683e-06/0.3017, allocations: 0 / 443.2 MB, free: 9.781 MB / 350.1 MB
Notification: Performance of Templates: time 0.0107/0.3124, allocations: 4.483 MB / 447.7 MB, free: 5.34 MB / 350.1 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.677956515923142]