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.001446/0.001446, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.00148/0.00148, allocations: 149.4 kB / 24.26 MB, free: 184 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.438/1.438, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 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 1.703e-06/1.703e-06, allocations: 0 / 267.4 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.803e-05, allocations: 2.312 kB / 267.4 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005418/0.005446, allocations: 2.958 MB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.006939, allocations: 0.7323 MB / 271 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.007097, allocations: 11.94 kB / 271.1 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.007299, allocations: 55.42 kB / 271.1 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.00757, allocations: 115 kB / 271.2 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.007934, allocations: 135.7 kB / 271.4 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.008523, allocations: 461.9 kB / 271.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/0.00877, allocations: 104.5 kB / 271.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.009463, allocations: 255.4 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.009693, allocations: 135.6 kB / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.009772, allocations: 44 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.009848, allocations: 44 kB / 272.4 MB, free: 1.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.009945, allocations: 87.67 kB / 272.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.01013, allocations: 135.7 kB / 272.6 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.01081, allocations: 0.5023 MB / 273.1 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/0.01082, allocations: 8 kB / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01082, allocations: 0 / 273.1 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01083, allocations: 0 / 273.1 MB, free: 0.9062 MB / 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.001285/0.01211, allocations: 0.5909 MB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.01216, allocations: 12.92 kB / 273.7 MB, free: 276 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.01232, allocations: 68.66 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.01284, allocations: 253.1 kB / 274 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.01288, allocations: 25.03 kB / 274 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.01293, allocations: 28.38 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008602/0.01379, allocations: 434.7 kB / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.01381, allocations: 192 / 274.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.01385, allocations: 12.38 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01386, allocations: 11.94 kB / 274.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007259/0.01459, allocations: 270.5 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/0.01685, allocations: 1.075 MB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.01754, allocations: 214.7 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.01778, allocations: 80.83 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.01781, allocations: 4 kB / 276.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.01784, allocations: 34.55 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.01784, allocations: 0 / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002434/0.02028, allocations: 0.5715 MB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.02033, allocations: 55.34 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.0207, allocations: 273.8 kB / 277.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.02073, allocations: 29.7 kB / 277.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.02094, allocations: 228.1 kB / 277.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.021, allocations: 55.58 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.02111, allocations: 49.66 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.02132, allocations: 326.8 kB / 277.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.02157, allocations: 79.95 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.02188, allocations: 162.2 kB / 278 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.02246, allocations: 254 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02246, allocations: 0 / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001143/0.0236, allocations: 412.5 kB / 278.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.02362, allocations: 4 kB / 278.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.02363, allocations: 7.984 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008495/0.02448, allocations: 168.8 kB / 278.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.02465, allocations: 39.91 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.0286, allocations: 2.04 MB / 280.9 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.02884, allocations: 31.84 kB / 280.9 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.02887, allocations: 11.94 kB / 280.9 MB, free: 8.652 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 0.0002307/0.0291, allocations: 153.7 kB / 281.1 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.02917, allocations: 27.86 kB / 281.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.02922, allocations: 25.84 kB / 281.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02923, allocations: 7.984 kB / 281.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02923, allocations: 0 / 281.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02924, allocations: 4 kB / 281.2 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.03069, allocations: 0.6159 MB / 281.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0307, allocations: 0 / 281.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.03078, allocations: 11.98 kB / 281.8 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.03152, allocations: 160.7 kB / 281.9 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.03154, allocations: 8 kB / 281.9 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.03505, allocations: 2.02 MB / 284 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.03506, allocations: 0 / 284 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.0361, allocations: 408.5 kB / 284.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.03616, allocations: 23.84 kB / 284.4 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.03619, allocations: 11.94 kB / 284.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.03644, allocations: 19.98 kB / 284.4 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.03651, allocations: 15.91 kB / 284.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.03653, allocations: 12 kB / 284.5 MB, free: 4.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000241/0.03677, allocations: 185.2 kB / 284.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03677, allocations: 0 / 284.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.03733, allocations: 95.78 kB / 284.7 MB, free: 4.695 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 0.0001744/0.03751, allocations: 114.1 kB / 284.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008707/0.03838, allocations: 334.7 kB / 285.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.03838, allocations: 192 / 285.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/0.03882, allocations: 222.5 kB / 285.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.03925, allocations: 44.66 kB / 285.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.04059, allocations: 0.5398 MB / 286 MB, free: 3.398 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.04104, allocations: 160.8 kB / 286.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.04114, allocations: 22.3 kB / 286.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.0412, allocations: 16.5 kB / 286.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0412, allocations: 0 / 286.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of Templates: time 0.008755/0.04995, allocations: 3.217 MB / 289.4 MB, free: 12 kB / 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=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.515917607001029]