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.001111/0.001111, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.00282, allocations: 449.7 kB / 10.37 MB, free: 324 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.001208/0.001208, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.002757, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9999/0.9999, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08217/1.082, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2492/0.2492, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0225/0.2717, allocations: 13.24 MB / 292.6 MB, free: 6.465 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.613e-06/1.613e-06, allocations: 0 / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.591e-05, allocations: 5.812 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001418/0.001443, allocations: 0.5441 MB / 294.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.003635, allocations: 2.134 MB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.003649, allocations: 0 / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.292e-06/0.003655, allocations: 0 / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-06/0.003657, allocations: 0 / 296.5 MB, free: 2.508 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.001265/0.004922, allocations: 0.7166 MB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.004977, allocations: 3.984 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.005012, allocations: 7.938 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.005041, allocations: 0 / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.902e-05/0.00506, allocations: 0 / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.005067, allocations: 4 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.006601, allocations: 1.576 MB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.006611, allocations: 0 / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.006626, allocations: 4 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.007945, allocations: 1.477 MB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.007957, allocations: 0 / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.007959, allocations: 0 / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.007971, allocations: 0 / 300.3 MB, free: 14.71 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.0005546/0.008525, allocations: 429.4 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.008566, allocations: 12.92 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.008598, allocations: 0.9375 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.754e-05/0.008655, allocations: 109.8 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.008666, allocations: 384 / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.008674, allocations: 4.375 kB / 300.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.008754, allocations: 55.91 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.00876, allocations: 192 / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.008766, allocations: 4.375 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.008771, allocations: 3.938 kB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.729e-05/0.008789, allocations: 33.7 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.718e-05/0.008856, allocations: 61.03 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.008898, allocations: 40.28 kB / 301.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.008915, allocations: 34.66 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-06/0.008919, allocations: 0 / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.008959, allocations: 64.2 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.00896, allocations: 4 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.009084, allocations: 110.8 kB / 301.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.00912, allocations: 77.11 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.009153, allocations: 97.98 kB / 301.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.009164, allocations: 29.7 kB / 301.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.009184, allocations: 80.14 kB / 301.5 MB, free: 13.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.009202, allocations: 4.672 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.009224, allocations: 13.72 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.009308, allocations: 314.8 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.009324, allocations: 29.69 kB / 301.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.009338, allocations: 29.7 kB / 301.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.00938, allocations: 64.2 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009382, allocations: 0 / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.092e-05/0.009433, allocations: 89.16 kB / 302.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.009476, allocations: 33.7 kB / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009482, allocations: 0 / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.00949, allocations: 0 / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-06/0.009494, allocations: 0 / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.009497, allocations: 0 / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.009513, allocations: 0 / 302.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.009523, allocations: 11.88 kB / 302.1 MB, free: 12.65 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.661e-05/0.009589, allocations: 131.5 kB / 302.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.009595, allocations: 7.984 kB / 302.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.066e-05/0.009606, allocations: 11.03 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.009607, allocations: 3.938 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.009609, allocations: 0 / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.009611, allocations: 0 / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.983e-05/0.009661, allocations: 65.84 kB / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.009662, allocations: 0 / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.009662, allocations: 0 / 302.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.009669, allocations: 4.516 kB / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.00967, allocations: 0 / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.009674, allocations: 0 / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.009676, allocations: 7.984 kB / 302.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009677, allocations: 4 kB / 302.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.009745, allocations: 108.5 kB / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.009758, allocations: 3.984 kB / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-06/0.009765, allocations: 4 kB / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-06/0.009773, allocations: 0 / 302.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.009777, allocations: 3.984 kB / 302.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.484e-06/0.009784, allocations: 4.859 kB / 302.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009784, allocations: 0 / 302.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00066/0.01044, allocations: 275.5 kB / 302.7 MB, free: 11.96 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.000992/0.01144, allocations: 439.1 kB / 303.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01154, allocations: 119.6 kB / 303.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01154, allocations: 4 kB / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.01157, allocations: 85.97 kB / 303.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.248e-05/0.01162, allocations: 3.938 kB / 303.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.01179, allocations: 120.7 kB / 303.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.834e-05/0.01182, allocations: 51.36 kB / 303.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.01183, allocations: 0 / 303.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.01186, allocations: 51.5 kB / 303.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01186, allocations: 4 kB / 303.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Templates: time 0.01129/0.02315, allocations: 9.4 MB / 313 MB, free: 1.625 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.367398196831346]