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.0007912/0.0007912, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001865, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007225/0.0007225, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001691, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9526/0.9526, allocations: 177.1 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08348/1.036, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.733e-06/1.733e-06, allocations: 0 / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.252e-05, allocations: 6.25 kB / 244.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004381/0.004403, allocations: 3.22 MB / 247.8 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.006051, allocations: 0.8411 MB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.006232, allocations: 7.938 kB / 248.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.006381, allocations: 55.44 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.006622, allocations: 119 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.00693, allocations: 131.7 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.007406, allocations: 462 kB / 249.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.007641, allocations: 111.1 kB / 249.5 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.008167, allocations: 311.8 kB / 249.8 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.008403, allocations: 139.6 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.008475, allocations: 47.94 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.008602, allocations: 44 kB / 250 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.008666, allocations: 63.81 kB / 250.1 MB, free: 8.715 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.0088, allocations: 115.8 kB / 250.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.009202, allocations: 263.1 kB / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.769e-05/0.009219, allocations: 0 / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.00922, allocations: 0 / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.009243, allocations: 4 kB / 250.5 MB, free: 8.34 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.0009566/0.0102, allocations: 0.6398 MB / 251.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01023, allocations: 12.03 kB / 251.1 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.01047, allocations: 146 kB / 251.3 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.01078, allocations: 201.1 kB / 251.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.0108, allocations: 25.03 kB / 251.5 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.01084, allocations: 32.38 kB / 251.5 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.01127, allocations: 335.4 kB / 251.8 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01128, allocations: 192 / 251.8 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.01131, allocations: 24.3 kB / 251.9 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01132, allocations: 11.94 kB / 251.9 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.0115, allocations: 84.5 kB / 252 MB, free: 6.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.01291, allocations: 0.8898 MB / 252.8 MB, free: 5.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.01317, allocations: 110.5 kB / 252.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.01324, allocations: 32.86 kB / 253 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.01326, allocations: 7.984 kB / 253 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.01329, allocations: 34.56 kB / 253 MB, free: 5.602 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.01329, allocations: 0 / 253 MB, free: 5.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009249/0.01421, allocations: 313.6 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.01425, allocations: 63.28 kB / 253.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.01446, allocations: 244.9 kB / 253.6 MB, free: 4.961 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01448, allocations: 25.7 kB / 253.7 MB, free: 4.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.01458, allocations: 208.1 kB / 253.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01462, allocations: 59.52 kB / 253.9 MB, free: 4.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.0147, allocations: 49.64 kB / 254 MB, free: 4.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.0148, allocations: 338.8 kB / 254.3 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.01485, allocations: 19.98 kB / 254.3 MB, free: 4.246 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.01494, allocations: 106.3 kB / 254.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.01511, allocations: 153 kB / 254.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01512, allocations: 0 / 254.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004057/0.01552, allocations: 222.2 kB / 254.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.01554, allocations: 8 kB / 254.8 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01555, allocations: 4 kB / 254.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.01591, allocations: 92.84 kB / 254.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01604, allocations: 47.91 kB / 254.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.01756, allocations: 1.555 MB / 256.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01771, allocations: 35.8 kB / 256.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01773, allocations: 8 kB / 256.5 MB, free: 1.859 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 0.0001022/0.01783, allocations: 121.8 kB / 256.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.01787, allocations: 19.92 kB / 256.7 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.01791, allocations: 29.77 kB / 256.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01791, allocations: 0 / 256.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.01792, allocations: 3.938 kB / 256.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01792, allocations: 7.922 kB / 256.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.01839, allocations: 379.5 kB / 257.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.01839, allocations: 3.938 kB / 257.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.01844, allocations: 15.98 kB / 257.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01846, allocations: 19.86 kB / 257.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.01865, allocations: 96.77 kB / 257.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.01866, allocations: 4 kB / 257.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008409/0.0195, allocations: 1.541 MB / 258.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0195, allocations: 0 / 258.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.0197, allocations: 252.6 kB / 259 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01971, allocations: 7.984 kB / 259 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.01979, allocations: 12 kB / 259 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.01982, allocations: 15.97 kB / 259 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01983, allocations: 4 kB / 259 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.01988, allocations: 90.7 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01988, allocations: 0 / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.02013, allocations: 95.78 kB / 259.2 MB, free: 15.02 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.464e-05/0.02022, allocations: 84.34 kB / 259.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.02046, allocations: 246.9 kB / 259.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.02047, allocations: 8.062 kB / 259.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.02059, allocations: 187.3 kB / 259.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.02078, allocations: 51.77 kB / 259.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.0229, allocations: 0.5474 MB / 260.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.192e-05/0.02296, allocations: 84.31 kB / 260.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.034e-05/0.02304, allocations: 26.28 kB / 260.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.02315, allocations: 87.36 kB / 260.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02315, allocations: 0 / 260.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of Templates: time 0.005422/0.02857, allocations: 3.568 MB / 264.1 MB, free: 10.12 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.48702316172421]