Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001194/0.001194, allocations: 104.6 kB / 21.18 MB, free: 0.6992 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.001412/0.001412, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp")
translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 51.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3691, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005018/0.3741, allocations: 2.77 MB / 399.6 MB, free: 7.562 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001725/0.3759, allocations: 0.6945 MB / 400.3 MB, free: 7.059 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.3761, allocations: 4.969 kB / 400.3 MB, free: 7.059 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.3763, allocations: 46.58 kB / 400.3 MB, free: 7.031 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.3766, allocations: 96.7 kB / 400.4 MB, free: 6.961 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3771, allocations: 84.22 kB / 400.5 MB, free: 6.914 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005587/0.3776, allocations: 381.5 kB / 400.9 MB, free: 6.723 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.3779, allocations: 96 kB / 401 MB, free: 6.664 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3781, allocations: 156.6 kB / 401.1 MB, free: 6.586 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.3784, allocations: 158.3 kB / 401.3 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.3785, allocations: 34.62 kB / 401.3 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.3786, allocations: 33.75 kB / 401.4 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.3787, allocations: 78 kB / 401.4 MB, free: 6.453 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3789, allocations: 161.5 kB / 401.6 MB, free: 6.355 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.3796, allocations: 387.4 kB / 402 MB, free: 6.203 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3796, allocations: 3.938 kB / 402 MB, free: 6.199 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.954e-06/0.3796, allocations: 0 / 402 MB, free: 6.199 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.698e-05/0.3796, allocations: 0 / 402 MB, free: 6.199 MB / 318.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001366/0.381, allocations: 0.5844 MB / 402.6 MB, free: 5.758 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.381, allocations: 9.312 kB / 402.6 MB, free: 5.758 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.3811, allocations: 37.98 kB / 402.6 MB, free: 5.738 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.3815, allocations: 217.2 kB / 402.8 MB, free: 5.543 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3816, allocations: 15.78 kB / 402.8 MB, free: 5.539 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.3816, allocations: 24.48 kB / 402.8 MB, free: 5.531 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.3824, allocations: 308.2 kB / 403.1 MB, free: 5.387 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3824, allocations: 1.031 kB / 403.2 MB, free: 5.387 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.3825, allocations: 12.09 kB / 403.2 MB, free: 5.379 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.3825, allocations: 5.406 kB / 403.2 MB, free: 5.379 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.3833, allocations: 253 kB / 403.4 MB, free: 5.305 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.3853, allocations: 1.047 MB / 404.5 MB, free: 4.539 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.3862, allocations: 204.3 kB / 404.7 MB, free: 4.469 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.3865, allocations: 89.2 kB / 404.7 MB, free: 4.438 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.3866, allocations: 2.047 kB / 404.7 MB, free: 4.438 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.3871, allocations: 160.3 kB / 404.9 MB, free: 4.344 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3871, allocations: 5.375 kB / 404.9 MB, free: 4.34 MB / 318.1 MB
Notification: Performance of matching and sorting (n=12): time 0.002336/0.3895, allocations: 453.2 kB / 405.4 MB, free: 4.199 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3895, allocations: 106.3 kB / 405.5 MB, free: 4.074 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.3899, allocations: 288.9 kB / 405.7 MB, free: 3.91 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3899, allocations: 30.83 kB / 405.8 MB, free: 3.875 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3901, allocations: 202.9 kB / 406 MB, free: 3.703 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.3901, allocations: 45.97 kB / 406 MB, free: 3.668 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3902, allocations: 48.44 kB / 406.1 MB, free: 3.637 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 9.655e-05/0.3903, allocations: 336 kB / 406.4 MB, free: 3.312 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.3907, allocations: 92.95 kB / 406.5 MB, free: 3.289 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3911, allocations: 198.5 kB / 406.7 MB, free: 3.129 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.3919, allocations: 299.3 kB / 407 MB, free: 2.918 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3919, allocations: 5.281 kB / 407 MB, free: 2.914 MB / 318.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001453/0.3934, allocations: 425.1 kB / 407.4 MB, free: 2.73 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.3934, allocations: 33.92 kB / 407.4 MB, free: 2.699 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3934, allocations: 3.062 kB / 407.4 MB, free: 2.699 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.3939, allocations: 75.88 kB / 407.5 MB, free: 2.672 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.3941, allocations: 50.8 kB / 407.5 MB, free: 2.664 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.3965, allocations: 1.615 MB / 409.2 MB, free: 1.258 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.397, allocations: 59.8 kB / 409.2 MB, free: 1.23 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.397, allocations: 10.33 kB / 409.2 MB, free: 1.23 MB / 318.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (23):
 * Single equations (assignments): 21
 * 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.0002096/0.3972, allocations: 153.6 kB / 409.4 MB, free: 1.086 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3973, allocations: 24.23 kB / 409.4 MB, free: 1.074 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.3973, allocations: 26.59 kB / 409.4 MB, free: 1.059 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3973, allocations: 5.969 kB / 409.4 MB, free: 1.055 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3974, allocations: 1.375 kB / 409.4 MB, free: 1.055 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3974, allocations: 4.656 kB / 409.4 MB, free: 1.051 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.3977, allocations: 271.6 kB / 409.7 MB, free: 0.8438 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3977, allocations: 1.375 kB / 409.7 MB, free: 0.8438 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.3978, allocations: 17.61 kB / 409.7 MB, free: 0.8438 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/0.3981, allocations: 68.39 kB / 409.8 MB, free: 0.8203 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3981, allocations: 4.891 kB / 409.8 MB, free: 0.8164 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/0.4006, allocations: 1.599 MB / 411.4 MB, free: 15.42 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4006, allocations: 0 / 411.4 MB, free: 15.42 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.4018, allocations: 315.6 kB / 411.7 MB, free: 15.24 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.4019, allocations: 39.33 kB / 411.7 MB, free: 15.21 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.402, allocations: 5.156 kB / 411.7 MB, free: 15.2 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.4023, allocations: 28.62 kB / 411.8 MB, free: 15.19 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.4024, allocations: 26.58 kB / 411.8 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4024, allocations: 3.625 kB / 411.8 MB, free: 15.17 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002821/0.4027, allocations: 203.6 kB / 412 MB, free: 15.04 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.4027, allocations: 0 / 412 MB, free: 15.04 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000484/0.4032, allocations: 87.72 kB / 412.1 MB, free: 15.01 MB / 334.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: 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 (7):
 * Single equations (assignments): 4
 * 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.0001509/0.4033, allocations: 99.81 kB / 412.2 MB, free: 14.92 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.00129/0.4046, allocations: 397.8 kB / 412.6 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4046, allocations: 0 / 412.6 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.4051, allocations: 219.2 kB / 412.8 MB, free: 14.47 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4055, allocations: 46.53 kB / 412.8 MB, free: 14.44 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4069, allocations: 472.2 kB / 413.3 MB, free: 14.12 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.4074, allocations: 0.7532 MB / 414 MB, free: 13.39 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001443/0.4075, allocations: 30.41 kB / 414.1 MB, free: 13.36 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.4076, allocations: 23.62 kB / 414.1 MB, free: 13.35 MB / 334.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.4076, allocations: 0 / 414.1 MB, free: 13.35 MB / 334.1 MB
Notification: Performance of Templates: time 0.01175/0.4193, allocations: 4.393 MB / 418.5 MB, free: 11.14 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 5.564418527297676]