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.001098/0.001098, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002626, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001053/0.001053, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002454, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.061/1.061, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08768/1.148, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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.267/0.267, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02564/0.2926, allocations: 13.24 MB / 292.8 MB, free: 6.371 MB / 282.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.312e-06/1.312e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.891e-05, allocations: 6.859 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001545/0.001564, allocations: 0.5482 MB / 294.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.003542, allocations: 1.601 MB / 296.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.003556, allocations: 0 / 296.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.727e-06/0.003559, allocations: 0 / 296.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.022e-06/0.00356, allocations: 3.938 kB / 296.2 MB, free: 2.91 MB / 282.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.0007522/0.004313, allocations: 307.9 kB / 296.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.004362, allocations: 7.938 kB / 296.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.285e-05/0.004395, allocations: 4 kB / 296.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.004429, allocations: 8 kB / 296.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.004447, allocations: 0 / 296.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.004454, allocations: 0 / 296.6 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.0049, allocations: 387.1 kB / 296.9 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.004911, allocations: 4 kB / 296.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.186e-05/0.004923, allocations: 0 / 296.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.005185, allocations: 259.3 kB / 297.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.005195, allocations: 0 / 297.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005196, allocations: 4 kB / 297.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.005204, allocations: 0 / 297.2 MB, free: 1.949 MB / 282.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.0002558/0.00546, allocations: 293.9 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.005487, allocations: 12.92 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.005517, allocations: 4.938 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.848e-05/0.005575, allocations: 101.8 kB / 297.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005585, allocations: 4.375 kB / 297.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.005593, allocations: 384 / 297.6 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.804e-05/0.005661, allocations: 55.97 kB / 297.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.005666, allocations: 192 / 297.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.005672, allocations: 4.312 kB / 297.7 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005678, allocations: 3.938 kB / 297.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.005695, allocations: 33.69 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.889e-05/0.005754, allocations: 61.05 kB / 297.8 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.005794, allocations: 44.31 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.005811, allocations: 30.56 kB / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-06/0.005814, allocations: 0 / 297.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.005847, allocations: 60.33 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.005848, allocations: 0 / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.005974, allocations: 118.7 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.006032, allocations: 158.2 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.391e-05/0.006066, allocations: 93.84 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.006075, allocations: 29.83 kB / 298.3 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.006097, allocations: 84.12 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.006119, allocations: 0.6875 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.00614, allocations: 13.72 kB / 298.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.006214, allocations: 314.8 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.00623, allocations: 29.7 kB / 298.7 MB, free: 208 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.006243, allocations: 25.7 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.271e-05/0.006286, allocations: 68.19 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006288, allocations: 0 / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.51e-05/0.006353, allocations: 93.17 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.006387, allocations: 29.7 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00639, allocations: 3.938 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.006401, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.006402, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006407, allocations: 7.984 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.006421, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.006429, allocations: 7.922 kB / 298.9 MB, free: 15.93 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.314e-05/0.006482, allocations: 135.5 kB / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-06/0.006486, allocations: 0 / 299.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-06/0.006494, allocations: 11.02 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006495, allocations: 0 / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006496, allocations: 0 / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006499, allocations: 4 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.941e-05/0.006539, allocations: 65.83 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.006539, allocations: 0 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.006541, allocations: 3.938 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-06/0.006544, allocations: 0 / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-07/0.006545, allocations: 4 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.00655, allocations: 3.984 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.7e-07/0.006551, allocations: 0 / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006551, allocations: 4 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.925e-05/0.006611, allocations: 112.5 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.006622, allocations: 4 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-06/0.006626, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.006635, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006638, allocations: 8 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.883e-06/0.006645, allocations: 4.859 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006645, allocations: 4 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.006816, allocations: 59.8 kB / 299.4 MB, free: 15.45 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.0003349/0.007151, allocations: 198.8 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.007229, allocations: 127.5 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.007232, allocations: 0 / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.007263, allocations: 97.94 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.46e-05/0.007308, allocations: 7.938 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001247/0.007433, allocations: 109.5 kB / 299.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.007459, allocations: 55.36 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.519e-06/0.007463, allocations: 0 / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.007494, allocations: 51.38 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007494, allocations: 0 / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002681/0.01018, allocations: 1.54 MB / 301.5 MB, free: 13.18 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9502906892448664]