Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.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.0009236/0.0009236, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001383/0.001383, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9977/0.9977, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2432/0.2432, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.037e-05, allocations: 3.156 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001067/0.001087, allocations: 0.5515 MB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.002591, allocations: 1.6 MB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.318e-05/0.002604, allocations: 0 / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.002616, allocations: 0 / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.002622, allocations: 4 kB / 327.4 MB, free: 5.5 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.003284, allocations: 287.1 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.003328, allocations: 4.625 kB / 327.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.003359, allocations: 3.984 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.003385, allocations: 3.984 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.477e-05/0.0034, allocations: 0 / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-06/0.003406, allocations: 4 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.003855, allocations: 415 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-06/0.003862, allocations: 4 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.003873, allocations: 0 / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.004152, allocations: 323.1 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004153, allocations: 0 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004154, allocations: 0 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.004157, allocations: 0 / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002127/0.00437, allocations: 270.1 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.004398, allocations: 12.03 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.00442, allocations: 4.938 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.057e-05/0.00447, allocations: 101.8 kB / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.004478, allocations: 384 / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-06/0.004483, allocations: 384 / 328.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.783e-05/0.004541, allocations: 63.95 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004546, allocations: 4.125 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.004551, allocations: 384 / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004556, allocations: 3.938 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.00457, allocations: 29.7 kB / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.679e-05/0.004627, allocations: 61.55 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.004664, allocations: 44.31 kB / 329 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.00468, allocations: 30.56 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-06/0.004682, allocations: 4.062 kB / 329.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.004711, allocations: 60.25 kB / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.004712, allocations: 0 / 329.1 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001023/0.004814, allocations: 114.8 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.004844, allocations: 77.11 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.93e-05/0.004873, allocations: 97.78 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.004881, allocations: 25.83 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.004901, allocations: 88.12 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.004916, allocations: 5.312 kB / 329.5 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.004935, allocations: 17.72 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/0.005007, allocations: 314.8 kB / 329.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.00502, allocations: 29.7 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.00503, allocations: 25.7 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.005068, allocations: 68.19 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005069, allocations: 0 / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003005/0.00537, allocations: 81.2 kB / 330 MB, free: 2.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.005394, allocations: 37.7 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.005398, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.005407, allocations: 3.984 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.005408, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.00541, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.00542, allocations: 3.984 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.005427, allocations: 7.938 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.005478, allocations: 131.5 kB / 330.2 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-06/0.005484, allocations: 4 kB / 330.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-06/0.00549, allocations: 3 kB / 330.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005492, allocations: 4 kB / 330.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005493, allocations: 0 / 330.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005495, allocations: 0 / 330.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.764e-05/0.005533, allocations: 65.84 kB / 330.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005534, allocations: 7.922 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.005534, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.005535, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-06/0.005538, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-07/0.005538, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005539, allocations: 0 / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.804e-05/0.005597, allocations: 124.5 kB / 330.4 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.005602, allocations: 4.328 kB / 330.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.005611, allocations: 0 / 330.4 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-06/0.005616, allocations: 4 kB / 330.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.005626, allocations: 4 kB / 330.4 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.005628, allocations: 3.938 kB / 330.4 MB, free: 2.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.013e-06/0.005635, allocations: 4.859 kB / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005635, allocations: 0 / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.005792, allocations: 63.8 kB / 330.5 MB, free: 2.09 MB / 298.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003111/0.006104, allocations: 184.2 kB / 330.7 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.6e-05/0.00618, allocations: 119.6 kB / 330.8 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.006183, allocations: 8 kB / 330.8 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.00621, allocations: 85.97 kB / 330.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.508e-05/0.006255, allocations: 7.922 kB / 330.9 MB, free: 1.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001273/0.006383, allocations: 104.6 kB / 331 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.186e-05/0.006404, allocations: 51.36 kB / 331.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.12e-06/0.00641, allocations: 0 / 331.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.006444, allocations: 63.36 kB / 331.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006444, allocations: 0 / 331.1 MB, free: 1.383 MB / 298.7 MB Notification: Performance of Templates: time 0.002696/0.00914, allocations: 1.484 MB / 332.6 MB, free: 15.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.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.906144702807069]