Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001302/0.001302, allocations: 105.8 kB / 20.43 MB, free: 1.473 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.001452/0.001452, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.483/1.483, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 47.92 kB / 371 MB, free: 9.414 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3044, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004382/0.3088, allocations: 2.818 MB / 426 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001322/0.3101, allocations: 0.6465 MB / 426.6 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3102, allocations: 4 kB / 426.6 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3104, allocations: 43.56 kB / 426.6 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3106, allocations: 103.2 kB / 426.7 MB, free: 11.04 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3109, allocations: 83.84 kB / 426.8 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004615/0.3113, allocations: 378.5 kB / 427.2 MB, free: 10.59 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3115, allocations: 91.34 kB / 427.3 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3117, allocations: 151.4 kB / 427.4 MB, free: 10.35 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.312, allocations: 171.3 kB / 427.6 MB, free: 10.18 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.312, allocations: 36 kB / 427.6 MB, free: 10.15 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3122, allocations: 32 kB / 427.7 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.3123, allocations: 75.7 kB / 427.7 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.3125, allocations: 159.2 kB / 427.9 MB, free: 9.887 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.313, allocations: 379.8 kB / 428.3 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.313, allocations: 0 / 428.3 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.392e-06/0.313, allocations: 0 / 428.3 MB, free: 9.52 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.176e-05/0.313, allocations: 0 / 428.3 MB, free: 9.52 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: 60
 * Number of variables: 60
Notification: Performance of Generate backend data structure: time 0.001443/0.3145, allocations: 0.5819 MB / 428.9 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3145, allocations: 15.97 kB / 428.9 MB, free: 8.883 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.3146, allocations: 32.75 kB / 428.9 MB, free: 8.852 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.315, allocations: 234.8 kB / 429.1 MB, free: 8.594 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.315, allocations: 12.88 kB / 429.1 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3151, allocations: 28.38 kB / 429.2 MB, free: 8.555 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007776/0.3159, allocations: 298.9 kB / 429.5 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3159, allocations: 0 / 429.5 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.3159, allocations: 12 kB / 429.5 MB, free: 8.238 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.3159, allocations: 11.94 kB / 429.5 MB, free: 8.227 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.3168, allocations: 249.6 kB / 429.7 MB, free: 7.98 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.3189, allocations: 1.043 MB / 430.8 MB, free: 6.852 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.3198, allocations: 202.6 kB / 431 MB, free: 6.645 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.3201, allocations: 92.72 kB / 431.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.3201, allocations: 0 / 431.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.3207, allocations: 165.8 kB / 431.2 MB, free: 6.367 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=12): time 3.967e-06/0.3207, allocations: 3.984 kB / 431.2 MB, free: 6.363 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12): time 0.002244/0.3229, allocations: 450.1 kB / 431.7 MB, free: 5.914 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.323, allocations: 102.8 kB / 431.8 MB, free: 5.789 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.3234, allocations: 289.8 kB / 432 MB, free: 5.496 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.3234, allocations: 29.7 kB / 432.1 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3236, allocations: 204 kB / 432.3 MB, free: 5.258 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.3236, allocations: 43.61 kB / 432.3 MB, free: 5.215 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3237, allocations: 53.89 kB / 432.4 MB, free: 5.152 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001776/0.3239, allocations: 330.8 kB / 432.7 MB, free: 4.82 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.3243, allocations: 108.1 kB / 432.8 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.3247, allocations: 198.8 kB / 433 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.3255, allocations: 301.4 kB / 433.3 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3255, allocations: 3.938 kB / 433.3 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001286/0.3268, allocations: 419.8 kB / 433.7 MB, free: 3.699 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.3268, allocations: 41.69 kB / 433.7 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3269, allocations: 4 kB / 433.7 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.3272, allocations: 76.78 kB / 433.8 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.3275, allocations: 47.95 kB / 433.9 MB, free: 3.523 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002577/0.33, allocations: 1.612 MB / 435.5 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3304, allocations: 55.73 kB / 435.5 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.3305, allocations: 8 kB / 435.5 MB, free: 1.738 MB / 334.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.0001784/0.3306, allocations: 150.8 kB / 435.7 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3307, allocations: 23.86 kB / 435.7 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.3307, allocations: 33.7 kB / 435.7 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3307, allocations: 0 / 435.7 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3307, allocations: 0 / 435.7 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3307, allocations: 0 / 435.7 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.331, allocations: 276.5 kB / 436 MB, free: 1.215 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.331, allocations: 0 / 436 MB, free: 1.215 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.3312, allocations: 15.98 kB / 436 MB, free: 1.199 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3315, allocations: 72.8 kB / 436.1 MB, free: 1.125 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3315, allocations: 0 / 436.1 MB, free: 1.125 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.3339, allocations: 1.609 MB / 437.7 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3339, allocations: 0 / 437.7 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3349, allocations: 317.5 kB / 438 MB, free: 15.07 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.335, allocations: 35.83 kB / 438.1 MB, free: 15.03 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3351, allocations: 8 kB / 438.1 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.3353, allocations: 23.97 kB / 438.1 MB, free: 15 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.591e-05/0.3354, allocations: 23.95 kB / 438.1 MB, free: 14.98 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3355, allocations: 8 kB / 438.1 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002236/0.3357, allocations: 205.1 kB / 438.3 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3357, allocations: 0 / 438.3 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003807/0.3361, allocations: 79.89 kB / 438.4 MB, free: 14.7 MB / 350.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.0001296/0.3362, allocations: 107.1 kB / 438.5 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001081/0.3373, allocations: 405.7 kB / 438.9 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3373, allocations: 0 / 438.9 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.3378, allocations: 231.3 kB / 439.1 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3381, allocations: 36.91 kB / 439.2 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3391, allocations: 456.8 kB / 439.6 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3395, allocations: 0.7558 MB / 440.4 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001022/0.3396, allocations: 22.3 kB / 440.4 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.3397, allocations: 23.44 kB / 440.4 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.3397, allocations: 0 / 440.4 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of Templates: time 0.009458/0.3491, allocations: 4.404 MB / 444.8 MB, free: 8.219 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.603877022862434]