Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001998/0.003195, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001929/0.003224, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08567/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 244.8 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.362e-05, allocations: 2.312 kB / 244.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003356/0.00338, allocations: 3.223 MB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004667, allocations: 0.8294 MB / 248.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.004818, allocations: 7.938 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.00493, allocations: 63.36 kB / 248.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.005097, allocations: 115 kB / 249 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.005323, allocations: 139.7 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.005658, allocations: 461.9 kB / 249.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.005827, allocations: 111.1 kB / 249.7 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.006162, allocations: 303.8 kB / 250 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.006317, allocations: 143.6 kB / 250.1 MB, free: 8.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.006357, allocations: 44 kB / 250.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.006436, allocations: 44 kB / 250.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.006478, allocations: 71.75 kB / 250.3 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.006558, allocations: 111.8 kB / 250.4 MB, free: 8.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.006819, allocations: 267 kB / 250.6 MB, free: 8.238 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.006829, allocations: 4 kB / 250.7 MB, free: 8.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006829, allocations: 0 / 250.7 MB, free: 8.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.00684, allocations: 4 kB / 250.7 MB, free: 8.23 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.0006112/0.007451, allocations: 0.6398 MB / 251.3 MB, free: 7.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.007478, allocations: 8.031 kB / 251.3 MB, free: 7.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.007632, allocations: 142 kB / 251.4 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.007857, allocations: 209.1 kB / 251.6 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.007872, allocations: 21.03 kB / 251.7 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.007901, allocations: 32.38 kB / 251.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.008183, allocations: 335.4 kB / 252 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.008193, allocations: 8.188 kB / 252 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.00821, allocations: 12.38 kB / 252 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008217, allocations: 11.94 kB / 252.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.863e-05/0.008316, allocations: 84.48 kB / 252.1 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.009466, allocations: 0.8937 MB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.009635, allocations: 114.5 kB / 253.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.009672, allocations: 32.84 kB / 253.2 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.009688, allocations: 4 kB / 253.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.009709, allocations: 30.56 kB / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.00971, allocations: 0 / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005829/0.01029, allocations: 318 kB / 253.5 MB, free: 5.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.01032, allocations: 59.34 kB / 253.6 MB, free: 5.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01045, allocations: 240.9 kB / 253.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01047, allocations: 33.7 kB / 253.8 MB, free: 4.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.01054, allocations: 204.1 kB / 254 MB, free: 4.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.01057, allocations: 63.5 kB / 254.1 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.01062, allocations: 53.58 kB / 254.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.0107, allocations: 330.8 kB / 254.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.01072, allocations: 19.98 kB / 254.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.01079, allocations: 110.2 kB / 254.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.01091, allocations: 156.4 kB / 254.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01091, allocations: 4 kB / 254.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002455/0.01116, allocations: 218 kB / 255 MB, free: 3.582 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01117, allocations: 4 kB / 255 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01118, allocations: 4 kB / 255 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.01143, allocations: 105.1 kB / 255.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.01151, allocations: 43.92 kB / 255.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.01257, allocations: 1.559 MB / 256.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01271, allocations: 31.83 kB / 256.7 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01272, allocations: 4 kB / 256.7 MB, free: 1.746 MB / 250.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 7.471e-05/0.01279, allocations: 125.8 kB / 256.9 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.01282, allocations: 19.92 kB / 256.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.01285, allocations: 25.77 kB / 256.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.01285, allocations: 7.938 kB / 256.9 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01285, allocations: 4 kB / 256.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01285, allocations: 3.984 kB / 256.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.01324, allocations: 379.3 kB / 257.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.01324, allocations: 7.938 kB / 257.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.01328, allocations: 15.98 kB / 257.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.151e-05/0.0133, allocations: 15.86 kB / 257.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.01349, allocations: 100.8 kB / 257.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.0135, allocations: 0 / 257.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008573/0.01435, allocations: 1.541 MB / 259 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01435, allocations: 0 / 259 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.01456, allocations: 248.6 kB / 259.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01458, allocations: 7.984 kB / 259.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.01465, allocations: 16.03 kB / 259.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.01468, allocations: 15.97 kB / 259.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01469, allocations: 4 kB / 259.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.01475, allocations: 94.64 kB / 259.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.01475, allocations: 0 / 259.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.01502, allocations: 91.78 kB / 259.4 MB, free: 14.9 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.036e-05/0.0151, allocations: 80.36 kB / 259.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.01541, allocations: 252.4 kB / 259.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.01542, allocations: 4 kB / 259.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.0156, allocations: 191.3 kB / 259.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.0159, allocations: 327.7 kB / 260.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.01794, allocations: 0.5397 MB / 260.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.01799, allocations: 88.31 kB / 260.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.01805, allocations: 26.28 kB / 260.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.01814, allocations: 91.3 kB / 261 MB, free: 13.18 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01814, allocations: 0 / 261 MB, free: 13.18 MB / 266.7 MB Notification: Performance of Templates: time 0.00639/0.02453, allocations: 3.685 MB / 264.7 MB, free: 9.562 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.459995693527162]