Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009283/0.0009283, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 167.5 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2689/0.2689, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.334e-05, allocations: 5.266 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001394/0.001418, allocations: 0.5467 MB / 326.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.003589, allocations: 1.562 MB / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.003608, allocations: 0 / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.003621, allocations: 4 kB / 328 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.473e-06/0.003628, allocations: 0 / 328 MB, free: 5.02 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.004462, allocations: 255.2 kB / 328.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.004512, allocations: 8.562 kB / 328.3 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.004549, allocations: 4 kB / 328.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.004577, allocations: 3.984 kB / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.566e-05/0.004593, allocations: 0 / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-06/0.004598, allocations: 0 / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.00541, allocations: 0.7111 MB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-06/0.005417, allocations: 0 / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.00543, allocations: 0 / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.006037, allocations: 0.7641 MB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00604, allocations: 0 / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006041, allocations: 0 / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006045, allocations: 0 / 329.8 MB, free: 3.277 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.0003103/0.006356, allocations: 258.2 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.006388, allocations: 8.031 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.006412, allocations: 4.938 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.215e-05/0.006464, allocations: 101.8 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.006472, allocations: 4.375 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.006479, allocations: 4.375 kB / 330.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.292e-05/0.006542, allocations: 63.94 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.006547, allocations: 192 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-06/0.006552, allocations: 384 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.006557, allocations: 3.938 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.006571, allocations: 33.64 kB / 330.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.045e-05/0.006632, allocations: 61.03 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.006671, allocations: 40.28 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.006687, allocations: 34.66 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.006691, allocations: 4 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.006723, allocations: 60.25 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.006723, allocations: 0 / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001023/0.006826, allocations: 118.7 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.006857, allocations: 81.11 kB / 330.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.996e-05/0.006887, allocations: 89.86 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.006896, allocations: 25.7 kB / 330.8 MB, free: 2.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.006915, allocations: 84.12 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.006931, allocations: 5.375 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.006951, allocations: 9.719 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.007024, allocations: 318.9 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.007039, allocations: 29.7 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.007051, allocations: 25.7 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.007091, allocations: 60.27 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007094, allocations: 3.984 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.524e-05/0.007149, allocations: 85.05 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.007175, allocations: 33.7 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00718, allocations: 0 / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.00719, allocations: 0 / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.007192, allocations: 4.094 kB / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.007194, allocations: 0 / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.007205, allocations: 0 / 331.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.007213, allocations: 11.92 kB / 331.4 MB, free: 1.391 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.894e-05/0.007271, allocations: 139.5 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.007277, allocations: 4 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-06/0.007285, allocations: 3 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007286, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007288, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.00729, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.509e-05/0.007335, allocations: 65.84 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007336, allocations: 4 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.007337, allocations: 3.984 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.007338, allocations: 0 / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.007342, allocations: 0 / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.007345, allocations: 4 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007346, allocations: 3.938 kB / 331.6 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.007415, allocations: 116.5 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-06/0.00742, allocations: 4.281 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.007428, allocations: 0 / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-06/0.007435, allocations: 7.938 kB / 331.8 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-06/0.007443, allocations: 4.031 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.007445, allocations: 0 / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.821e-06/0.007451, allocations: 4.859 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007451, allocations: 0 / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.00773, allocations: 123.9 kB / 331.9 MB, free: 0.8438 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.0004866/0.008217, allocations: 163.6 kB / 332.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.008307, allocations: 119.6 kB / 332.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.00831, allocations: 4 kB / 332.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.008337, allocations: 85.97 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.723e-05/0.008384, allocations: 7.938 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001302/0.008515, allocations: 107.5 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.008542, allocations: 59.47 kB / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.139e-06/0.008547, allocations: 0 / 332.4 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.008579, allocations: 51.38 kB / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00858, allocations: 0 / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of Templates: time 0.005295/0.01387, allocations: 4.056 MB / 336.5 MB, free: 12.1 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.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: 3.1506361342035234]