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.001409/0.001409, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001331/0.001331, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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.004/1.004, allocations: 173.4 MB / 201.1 MB, free: 8.969 MB / 186.7 MB " [Timeout remaining time 179] 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 2.705e-06/2.705e-06, allocations: 0 / 268 MB, free: 6.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.568e-05, allocations: 2.312 kB / 268 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003539/0.003574, allocations: 3.182 MB / 271.2 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.004771, allocations: 0.7518 MB / 272 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.004929, allocations: 7.938 kB / 272 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.005096, allocations: 59.42 kB / 272 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.005267, allocations: 122.9 kB / 272.1 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.005543, allocations: 127.8 kB / 272.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.006165, allocations: 454 kB / 272.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.006356, allocations: 120.4 kB / 272.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.006618, allocations: 247.5 kB / 273.1 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.00678, allocations: 143.6 kB / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.006829, allocations: 40 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.00687, allocations: 48 kB / 273.3 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.006924, allocations: 91.67 kB / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.92e-05/0.007023, allocations: 135.7 kB / 273.5 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.007312, allocations: 286.9 kB / 273.8 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.007314, allocations: 0 / 273.8 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.007316, allocations: 0 / 273.8 MB, free: 468 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.007321, allocations: 0 / 273.8 MB, free: 468 kB / 250.7 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.000753/0.008074, allocations: 0.683 MB / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.008111, allocations: 8.922 kB / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.008198, allocations: 72.59 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.008454, allocations: 247.8 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.008472, allocations: 28.97 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.008502, allocations: 32.38 kB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.008878, allocations: 357.1 kB / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.00889, allocations: 192 / 275.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.008911, allocations: 8.375 kB / 275.2 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.008923, allocations: 15.92 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.009099, allocations: 127.8 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01018, allocations: 1.116 MB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.01043, allocations: 135.2 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.0105, allocations: 47.67 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.01052, allocations: 0 / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.01055, allocations: 45.38 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.335e-06/0.01055, allocations: 3.984 kB / 276.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007871/0.01134, allocations: 364.7 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.01136, allocations: 55.41 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.01155, allocations: 304.2 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01156, allocations: 29.7 kB / 277.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01167, allocations: 270.9 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.01169, allocations: 55.53 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.01174, allocations: 55.31 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01185, allocations: 0.5001 MB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.0119, allocations: 27.98 kB / 278.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.01199, allocations: 148.2 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.01215, allocations: 199 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01216, allocations: 0 / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003246/0.01248, allocations: 276.7 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01249, allocations: 8.344 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.0125, allocations: 8 kB / 279 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.01279, allocations: 95.61 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.01287, allocations: 39.92 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.01437, allocations: 2.285 MB / 281.4 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.01447, allocations: 31.77 kB / 281.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01448, allocations: 15.98 kB / 281.4 MB, free: 8.324 MB / 266.7 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 8.902e-05/0.01457, allocations: 172.5 kB / 281.6 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.0146, allocations: 31.89 kB / 281.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.01463, allocations: 29.77 kB / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.01463, allocations: 0 / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01463, allocations: 0 / 281.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01464, allocations: 4 kB / 281.7 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.01511, allocations: 0.54 MB / 282.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01511, allocations: 0 / 282.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.01515, allocations: 16 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.01534, allocations: 99.55 kB / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.01535, allocations: 0 / 282.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.01671, allocations: 2.263 MB / 284.6 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01671, allocations: 4 kB / 284.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.01711, allocations: 339.7 kB / 284.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.01715, allocations: 23.84 kB / 284.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01717, allocations: 7.938 kB / 284.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.01729, allocations: 20.02 kB / 285 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.01734, allocations: 15.92 kB / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01735, allocations: 7.984 kB / 285 MB, free: 4.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.01749, allocations: 209.1 kB / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01749, allocations: 0 / 285.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.01776, allocations: 91.84 kB / 285.3 MB, free: 4.266 MB / 266.7 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 8.472e-05/0.01785, allocations: 103.2 kB / 285.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.01821, allocations: 333.1 kB / 285.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01821, allocations: 0 / 285.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01836, allocations: 248.9 kB / 286 MB, free: 3.547 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.0186, allocations: 45.38 kB / 286 MB, free: 3.504 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.01938, allocations: 0.4986 MB / 286.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.01943, allocations: 92.3 kB / 286.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.01948, allocations: 18.3 kB / 286.6 MB, free: 2.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.01952, allocations: 20.5 kB / 286.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01952, allocations: 4 kB / 286.6 MB, free: 2.824 MB / 266.7 MB Notification: Performance of Templates: time 0.09921/0.1187, allocations: 3.383 MB / 290 MB, free: 29.83 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.76905828807503]