Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.00198/0.00198, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002214/0.002214, allocations: 181.8 kB / 23.71 MB, free: 4.695 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder")
translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 43.92 kB / 371 MB, free: 9.297 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2596, allocations: 52.18 MB / 423.1 MB, free: 14.65 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004573/0.2641, allocations: 3.216 MB / 426.4 MB, free: 11.42 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001348/0.2655, allocations: 0.7751 MB / 427.1 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2657, allocations: 11.94 kB / 427.1 MB, free: 10.63 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.2658, allocations: 63.42 kB / 427.2 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.2661, allocations: 111 kB / 427.3 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.2664, allocations: 119.8 kB / 427.4 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004823/0.2669, allocations: 450.1 kB / 427.9 MB, free: 9.898 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.2671, allocations: 112.4 kB / 428 MB, free: 9.789 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.2674, allocations: 171.4 kB / 428.2 MB, free: 9.621 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.2676, allocations: 187.2 kB / 428.3 MB, free: 9.438 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.2676, allocations: 44 kB / 428.4 MB, free: 9.395 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.2677, allocations: 44 kB / 428.4 MB, free: 9.352 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.2678, allocations: 83.75 kB / 428.5 MB, free: 9.27 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.268, allocations: 195.1 kB / 428.7 MB, free: 9.078 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.2685, allocations: 0.4993 MB / 429.2 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2685, allocations: 0 / 429.2 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2685, allocations: 0 / 429.2 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.623e-06/0.2686, allocations: 0 / 429.2 MB, free: 8.582 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: 78
 * Number of variables: 78
Notification: Performance of Generate backend data structure: time 0.001152/0.2697, allocations: 0.5948 MB / 429.8 MB, free: 7.953 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.2697, allocations: 8.031 kB / 429.8 MB, free: 7.945 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.2698, allocations: 48.69 kB / 429.8 MB, free: 7.898 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.2703, allocations: 241.9 kB / 430.1 MB, free: 7.637 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.2703, allocations: 25.03 kB / 430.1 MB, free: 7.613 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.2704, allocations: 28.38 kB / 430.1 MB, free: 7.586 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.271, allocations: 357.3 kB / 430.5 MB, free: 7.23 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2711, allocations: 0 / 430.5 MB, free: 7.23 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.2711, allocations: 12 kB / 430.5 MB, free: 7.219 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2711, allocations: 8 kB / 430.5 MB, free: 7.211 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.2717, allocations: 270.5 kB / 430.8 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.2738, allocations: 1.218 MB / 432 MB, free: 5.652 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.2744, allocations: 206.6 kB / 432.2 MB, free: 5.441 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.2746, allocations: 84.81 kB / 432.3 MB, free: 5.355 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2746, allocations: 4 kB / 432.3 MB, free: 5.352 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2747, allocations: 38.56 kB / 432.3 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.2747, allocations: 0 / 432.3 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002178/0.2769, allocations: 0.5603 MB / 432.9 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.2769, allocations: 51.41 kB / 432.9 MB, free: 4.672 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.2772, allocations: 300.2 kB / 433.2 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2773, allocations: 25.7 kB / 433.2 MB, free: 4.344 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2774, allocations: 228.2 kB / 433.5 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2775, allocations: 55.58 kB / 433.5 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2776, allocations: 53.66 kB / 433.6 MB, free: 4.004 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001502/0.2777, allocations: 338.8 kB / 433.9 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2779, allocations: 71.97 kB / 434 MB, free: 3.594 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.2782, allocations: 166.2 kB / 434.1 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.2787, allocations: 253.4 kB / 434.4 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2787, allocations: 0 / 434.4 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001011/0.2797, allocations: 410 kB / 434.8 MB, free: 2.703 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2797, allocations: 11.94 kB / 434.8 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2797, allocations: 0 / 434.8 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.2802, allocations: 100.9 kB / 434.9 MB, free: 2.59 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.2803, allocations: 43.91 kB / 434.9 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.2835, allocations: 2.081 MB / 437 MB, free: 360 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.2838, allocations: 39.77 kB / 437.1 MB, free: 320 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2838, allocations: 12 kB / 437.1 MB, free: 308 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (22):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 0
 * 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,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.284, allocations: 145.8 kB / 437.2 MB, free: 152 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.284, allocations: 23.86 kB / 437.2 MB, free: 128 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.2841, allocations: 29.84 kB / 437.3 MB, free: 96 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2841, allocations: 7.938 kB / 437.3 MB, free: 88 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.2841, allocations: 0 / 437.3 MB, free: 88 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2841, allocations: 0 / 437.3 MB, free: 88 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2855, allocations: 0.6974 MB / 438 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2855, allocations: 0 / 438 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.2856, allocations: 15.98 kB / 438 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.2859, allocations: 105.1 kB / 438.1 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2859, allocations: 7.938 kB / 438.1 MB, free: 15.2 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.2893, allocations: 2.052 MB / 440.1 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.2893, allocations: 3.938 kB / 440.1 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.2903, allocations: 404.5 kB / 440.5 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.2903, allocations: 35.78 kB / 440.6 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2904, allocations: 0 / 440.6 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.2906, allocations: 39.86 kB / 440.6 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.2906, allocations: 15.91 kB / 440.6 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.2907, allocations: 7.938 kB / 440.6 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002357/0.2909, allocations: 211.1 kB / 440.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2909, allocations: 0 / 440.8 MB, free: 12.32 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004826/0.2914, allocations: 87.89 kB / 440.9 MB, free: 12.24 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * 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,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001239/0.2915, allocations: 99.25 kB / 441 MB, free: 12.13 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007958/0.2923, allocations: 341.5 kB / 441.4 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2923, allocations: 0 / 441.4 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.2927, allocations: 230.4 kB / 441.6 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.2931, allocations: 44.81 kB / 441.6 MB, free: 11.5 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2944, allocations: 0.5517 MB / 442.2 MB, free: 10.92 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.2949, allocations: 0.7635 MB / 442.9 MB, free: 10.13 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001018/0.295, allocations: 26.28 kB / 443 MB, free: 10.11 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.295, allocations: 19.44 kB / 443 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of SimCode: time 1.112e-06/0.295, allocations: 4 kB / 443 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of Templates: time 0.009092/0.3041, allocations: 3.855 MB / 446.8 MB, free: 6.258 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.642443235963583]