Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.001035/0.001035, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001613/0.002648, allocations: 457.8 kB / 10.45 MB, free: 240 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.001019/0.001019, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002353, allocations: 475.6 kB / 11.82 MB, free: 2.344 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 0.9437/0.9437, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09242/1.036, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2512/0.2512, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02451/0.2757, allocations: 13.24 MB / 292.8 MB, free: 6.387 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.658e-05, allocations: 4.984 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00101/0.001027, allocations: 0.5471 MB / 294.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.003212, allocations: 2.139 MB / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.003229, allocations: 0 / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.306e-06/0.003232, allocations: 0 / 296.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.91e-07/0.003233, allocations: 4 kB / 296.8 MB, free: 2.398 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.004606, allocations: 0.7166 MB / 297.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.762e-05/0.004654, allocations: 4 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.004686, allocations: 7.984 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.004715, allocations: 0 / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.004733, allocations: 0 / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-06/0.00474, allocations: 0 / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.006588, allocations: 1.587 MB / 299.1 MB, free: 80 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.006601, allocations: 0 / 299.1 MB, free: 80 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.405e-05/0.006615, allocations: 8 kB / 299.1 MB, free: 72 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.007856, allocations: 1.466 MB / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.007865, allocations: 0 / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007865, allocations: 0 / 300.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.007874, allocations: 0 / 300.6 MB, free: 14.6 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.0006833/0.008558, allocations: 425.4 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.008592, allocations: 8.922 kB / 301 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.008624, allocations: 4.938 kB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.868e-05/0.008682, allocations: 109.8 kB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.008691, allocations: 384 / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.0087, allocations: 384 / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.00877, allocations: 59.97 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.008776, allocations: 4.125 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.008782, allocations: 384 / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.008787, allocations: 3.938 kB / 301.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.008803, allocations: 29.7 kB / 301.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.334e-05/0.008866, allocations: 57.03 kB / 301.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.008907, allocations: 52.31 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.008925, allocations: 34.62 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-06/0.008928, allocations: 0 / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.008962, allocations: 56.27 kB / 301.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.008963, allocations: 0 / 301.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.009082, allocations: 118.7 kB / 301.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.00914, allocations: 158.2 kB / 301.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.387e-05/0.009174, allocations: 89.86 kB / 301.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.009185, allocations: 29.7 kB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.009207, allocations: 88.06 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.009235, allocations: 4.812 kB / 301.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.009265, allocations: 13.72 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.009354, allocations: 318.8 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.009373, allocations: 25.7 kB / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.009386, allocations: 29.7 kB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.009433, allocations: 64.2 kB / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009434, allocations: 0 / 302.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.852e-05/0.009483, allocations: 85.09 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.009521, allocations: 33.7 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.009526, allocations: 96 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.009535, allocations: 4 kB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.009537, allocations: 0 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00954, allocations: 0 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.009555, allocations: 0 / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.009563, allocations: 7.938 kB / 302.4 MB, free: 12.45 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 6.313e-05/0.009626, allocations: 143.5 kB / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-06/0.00963, allocations: 0 / 302.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-06/0.009637, allocations: 7 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.009638, allocations: 0 / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.00964, allocations: 0 / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.009642, allocations: 4 kB / 302.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.227e-05/0.009684, allocations: 61.84 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.009685, allocations: 3.938 kB / 302.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.009685, allocations: 4 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.00969, allocations: 0.5156 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009692, allocations: 3.984 kB / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.009696, allocations: 0 / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.009696, allocations: 0 / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009697, allocations: 0 / 302.7 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.009766, allocations: 120.5 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.009782, allocations: 4.031 kB / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.921e-06/0.009788, allocations: 0 / 302.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.009805, allocations: 4 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.009811, allocations: 0 / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.168e-05/0.009822, allocations: 4.859 kB / 302.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009822, allocations: 3.938 kB / 302.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007091/0.01053, allocations: 275.6 kB / 303.1 MB, free: 11.76 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.000955/0.01149, allocations: 435.6 kB / 303.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.01158, allocations: 119.7 kB / 303.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01158, allocations: 4.094 kB / 303.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.01161, allocations: 89.97 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.841e-05/0.01166, allocations: 7.938 kB / 303.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001442/0.0118, allocations: 116.7 kB / 303.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.01183, allocations: 51.36 kB / 303.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.939e-06/0.01183, allocations: 0 / 303.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.01186, allocations: 55.36 kB / 303.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01186, allocations: 0 / 303.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of Templates: time 0.01081/0.02268, allocations: 9.43 MB / 313.4 MB, free: 1.391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.3952512396499515]