Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001074/0.001074, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001294/0.001294, allocations: 166.2 kB / 24.91 MB, free: 8.77 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.012/1.012, allocations: 177 MB / 205.2 MB, free: 5.051 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.2481/0.2481, allocations: 34.86 MB / 296.6 MB, free: 404 kB / 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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.425e-05, allocations: 2.312 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001028/0.001043, allocations: 0.5389 MB / 326.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.002863, allocations: 1.6 MB / 328.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.456e-05/0.002878, allocations: 3.938 kB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.002888, allocations: 0 / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.002894, allocations: 0 / 328.1 MB, free: 4.949 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0006368/0.003531, allocations: 291 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.003573, allocations: 12.61 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.003604, allocations: 0 / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.003628, allocations: 0 / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.619e-05/0.003645, allocations: 8 kB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.003651, allocations: 0 / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.00409, allocations: 411 kB / 328.8 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.004096, allocations: 4 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.092e-05/0.004107, allocations: 0 / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.004378, allocations: 319.9 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00438, allocations: 3.938 kB / 329.1 MB, free: 3.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004381, allocations: 4 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004384, allocations: 0 / 329.1 MB, free: 3.918 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.0002097/0.004594, allocations: 266.1 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.004625, allocations: 8.031 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.004646, allocations: 4.938 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.358e-05/0.004699, allocations: 113.7 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.004709, allocations: 4.375 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-06/0.004714, allocations: 384 / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/0.004768, allocations: 55.97 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-06/0.004773, allocations: 192 / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-06/0.004778, allocations: 384 / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004782, allocations: 7.938 kB / 329.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.323e-05/0.004796, allocations: 29.7 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.988e-05/0.004856, allocations: 60.97 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.545e-05/0.004891, allocations: 44.31 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.004904, allocations: 30.56 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-06/0.004906, allocations: 4.062 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.004933, allocations: 56.27 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.004933, allocations: 3.938 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 8.954e-05/0.005023, allocations: 122.7 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005049, allocations: 81.23 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.502e-05/0.005074, allocations: 93.84 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.005082, allocations: 25.7 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.656e-05/0.005098, allocations: 80.14 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.005113, allocations: 1.375 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.005129, allocations: 13.72 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.005189, allocations: 314.8 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.005202, allocations: 33.69 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.005211, allocations: 25.7 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.265e-05/0.005244, allocations: 60.27 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.005245, allocations: 4.062 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.066e-05/0.005286, allocations: 89.03 kB / 330.7 MB, free: 2.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.005307, allocations: 33.7 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005311, allocations: 0 / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.005321, allocations: 3.984 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.005322, allocations: 0 / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.005324, allocations: 0 / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.005332, allocations: 0 / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.005339, allocations: 7.938 kB / 330.8 MB, free: 2.02 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 4.912e-05/0.005388, allocations: 139.6 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-06/0.005393, allocations: 4 kB / 330.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-06/0.005399, allocations: 6.984 kB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.0054, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005402, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.005404, allocations: 0 / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.658e-05/0.00544, allocations: 65.84 kB / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005441, allocations: 0 / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.005441, allocations: 0 / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005442, allocations: 0 / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.005446, allocations: 0 / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.005446, allocations: 0 / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.005446, allocations: 4 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.55e-05/0.005502, allocations: 124.4 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-06/0.005506, allocations: 4.344 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.005515, allocations: 3.938 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-06/0.005519, allocations: 0 / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.005528, allocations: 7.984 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.005529, allocations: 0 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.548e-06/0.005534, allocations: 4.859 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005534, allocations: 0 / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000145/0.005679, allocations: 63.81 kB / 331.2 MB, free: 1.535 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.0002927/0.005971, allocations: 182.4 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.006043, allocations: 115.7 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.006046, allocations: 4 kB / 331.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.006072, allocations: 89.91 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.677e-05/0.006119, allocations: 11.94 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001252/0.006244, allocations: 108.9 kB / 331.7 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.169e-05/0.006266, allocations: 51.36 kB / 331.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.639e-06/0.00627, allocations: 0 / 331.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.0063, allocations: 51.38 kB / 331.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0063, allocations: 4.125 kB / 331.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of Templates: time 0.002473/0.008773, allocations: 1.494 MB / 333.3 MB, free: 15.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8602908928878605]