Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002444/0.002444, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 60.78 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.257, allocations: 53.37 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004971/0.2619, allocations: 3.237 MB / 435.7 MB, free: 3.691 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001678/0.2636, allocations: 0.8142 MB / 436.5 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.2639, allocations: 11.94 kB / 436.5 MB, free: 2.859 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.2641, allocations: 59.42 kB / 436.6 MB, free: 2.801 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.2644, allocations: 115 kB / 436.7 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.2648, allocations: 135.8 kB / 436.8 MB, free: 2.555 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005689/0.2653, allocations: 450.1 kB / 437.2 MB, free: 2.113 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.2656, allocations: 116.4 kB / 437.4 MB, free: 2 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.266, allocations: 167.4 kB / 437.5 MB, free: 1.836 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.2662, allocations: 183.2 kB / 437.7 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.41e-05/0.2663, allocations: 47.94 kB / 437.7 MB, free: 1.609 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2665, allocations: 47.98 kB / 437.8 MB, free: 1.562 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.2665, allocations: 91.62 kB / 437.9 MB, free: 1.473 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.2668, allocations: 191.1 kB / 438.1 MB, free: 1.285 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.2674, allocations: 0.5036 MB / 438.6 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2674, allocations: 0 / 438.6 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.754e-06/0.2674, allocations: 4 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.849e-05/0.2675, allocations: 7.938 kB / 438.6 MB, free: 0.7734 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.001352/0.2688, allocations: 0.6025 MB / 439.2 MB, free: 140 kB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2689, allocations: 12.03 kB / 439.2 MB, free: 128 kB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.2691, allocations: 48.69 kB / 439.2 MB, free: 80 kB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.2697, allocations: 253.8 kB / 439.5 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2697, allocations: 21.03 kB / 439.5 MB, free: 15.79 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.2698, allocations: 32.38 kB / 439.5 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.2705, allocations: 357.3 kB / 439.9 MB, free: 15.4 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2705, allocations: 4 kB / 439.9 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.2706, allocations: 12 kB / 439.9 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2706, allocations: 8 kB / 439.9 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.2713, allocations: 270.4 kB / 440.2 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.2735, allocations: 1.21 MB / 441.4 MB, free: 13.82 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.2741, allocations: 210.6 kB / 441.6 MB, free: 13.61 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.2743, allocations: 96.75 kB / 441.7 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.2744, allocations: 4 kB / 441.7 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2744, allocations: 30.56 kB / 441.7 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2744, allocations: 0 / 441.7 MB, free: 13.47 MB / 350.1 MB
Notification: Performance of matching and sorting (n=15): time 0.002154/0.2766, allocations: 0.5616 MB / 442.3 MB, free: 12.9 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.2766, allocations: 51.41 kB / 442.3 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.277, allocations: 312.1 kB / 442.6 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.277, allocations: 25.7 kB / 442.7 MB, free: 12.49 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2772, allocations: 220.3 kB / 442.9 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.2772, allocations: 55.53 kB / 442.9 MB, free: 12.22 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.2773, allocations: 49.66 kB / 443 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001702/0.2775, allocations: 338.8 kB / 443.3 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.2777, allocations: 71.95 kB / 443.4 MB, free: 11.75 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.278, allocations: 174.1 kB / 443.6 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.2785, allocations: 248.9 kB / 443.8 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2785, allocations: 3.938 kB / 443.8 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.001033/0.2795, allocations: 406 kB / 444.2 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2795, allocations: 11.88 kB / 444.2 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2795, allocations: 4 kB / 444.2 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/0.28, allocations: 108.9 kB / 444.3 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2802, allocations: 39.92 kB / 444.4 MB, free: 10.7 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.2834, allocations: 2.063 MB / 446.4 MB, free: 8.512 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.2837, allocations: 43.67 kB / 446.5 MB, free: 8.469 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.2837, allocations: 12 kB / 446.5 MB, free: 8.457 MB / 350.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.0001862/0.2839, allocations: 153.8 kB / 446.6 MB, free: 8.297 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.2839, allocations: 27.86 kB / 446.7 MB, free: 8.27 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.284, allocations: 25.84 kB / 446.7 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.284, allocations: 7.938 kB / 446.7 MB, free: 8.234 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.284, allocations: 0 / 446.7 MB, free: 8.234 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.284, allocations: 0 / 446.7 MB, free: 8.234 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.2854, allocations: 0.6963 MB / 447.4 MB, free: 7.484 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2854, allocations: 0 / 447.4 MB, free: 7.484 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.2855, allocations: 19.98 kB / 447.4 MB, free: 7.465 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/0.2858, allocations: 96.78 kB / 447.5 MB, free: 7.367 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2858, allocations: 11.94 kB / 447.5 MB, free: 7.355 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.2888, allocations: 2.051 MB / 449.6 MB, free: 5.195 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2888, allocations: 3.938 kB / 449.6 MB, free: 5.191 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.2897, allocations: 412.5 kB / 450 MB, free: 4.77 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.2897, allocations: 31.75 kB / 450 MB, free: 4.738 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.2898, allocations: 3.984 kB / 450 MB, free: 4.734 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.29, allocations: 19.98 kB / 450 MB, free: 4.715 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.29, allocations: 15.97 kB / 450 MB, free: 4.699 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.29, allocations: 7.938 kB / 450.1 MB, free: 4.691 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002542/0.2903, allocations: 215.1 kB / 450.3 MB, free: 4.484 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2903, allocations: 3.938 kB / 450.3 MB, free: 4.48 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004811/0.2908, allocations: 87.89 kB / 450.4 MB, free: 4.395 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.0001207/0.2909, allocations: 95.25 kB / 450.4 MB, free: 4.289 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007753/0.2917, allocations: 341.5 kB / 450.8 MB, free: 3.945 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2917, allocations: 0 / 450.8 MB, free: 3.945 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.2921, allocations: 227.1 kB / 451 MB, free: 3.711 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.2924, allocations: 36.97 kB / 451 MB, free: 3.668 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2936, allocations: 0.5699 MB / 451.6 MB, free: 3.074 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2941, allocations: 0.7675 MB / 452.4 MB, free: 2.281 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001111/0.2942, allocations: 26.28 kB / 452.4 MB, free: 2.258 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.2942, allocations: 23.42 kB / 452.4 MB, free: 2.234 MB / 350.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.2942, allocations: 0 / 452.4 MB, free: 2.234 MB / 350.1 MB
Notification: Performance of Templates: time 0.008528/0.3027, allocations: 3.864 MB / 456.3 MB, free: 14.39 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.562527562491596]