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.001216/0.001216, allocations: 84.86 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.004355/0.004355, allocations: 162 kB / 24.91 MB, free: 8.754 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.031/1.031, allocations: 177 MB / 205.2 MB, free: 5.461 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.2601/0.2601, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.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.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.512e-05, allocations: 7.016 kB / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001404/0.001429, allocations: 0.5022 MB / 326.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.003959, allocations: 2.122 MB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.003978, allocations: 0 / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.003991, allocations: 0 / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.003998, allocations: 0 / 328.5 MB, free: 4.555 MB / 298.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.001671/0.005669, allocations: 0.779 MB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.005718, allocations: 0.625 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.005756, allocations: 4 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.005787, allocations: 4 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.752e-05/0.005805, allocations: 0 / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-06/0.005811, allocations: 0 / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.007367, allocations: 1.548 MB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.007377, allocations: 0 / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.007391, allocations: 4 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.009067, allocations: 1.871 MB / 332.7 MB, free: 340 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00907, allocations: 0 / 332.7 MB, free: 340 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.009072, allocations: 4 kB / 332.7 MB, free: 336 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.009076, allocations: 0 / 332.7 MB, free: 336 kB / 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.0004372/0.009513, allocations: 338.4 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.00955, allocations: 12.03 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.009575, allocations: 0.9375 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.48e-05/0.00963, allocations: 105.8 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.009643, allocations: 8.312 kB / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.009651, allocations: 384 / 333.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.818e-05/0.009719, allocations: 59.97 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.009726, allocations: 4.188 kB / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.009733, allocations: 384 / 333.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.009737, allocations: 3.938 kB / 333.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.009752, allocations: 25.7 kB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.372e-05/0.009815, allocations: 61.03 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.009856, allocations: 44.22 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.009875, allocations: 38.59 kB / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-06/0.009878, allocations: 0 / 333.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.009915, allocations: 60.25 kB / 333.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.009916, allocations: 4 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001146/0.01003, allocations: 118.8 kB / 333.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.01006, allocations: 77.11 kB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.035e-05/0.0101, allocations: 90.55 kB / 333.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.0101, allocations: 25.7 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.01012, allocations: 84.14 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.01014, allocations: 0.6875 kB / 333.9 MB, free: 15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.01016, allocations: 9.719 kB / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.01024, allocations: 326.7 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.01026, allocations: 29.69 kB / 334.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.01027, allocations: 29.83 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.362e-05/0.01031, allocations: 60.27 kB / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01031, allocations: 0 / 334.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.536e-05/0.01037, allocations: 89.09 kB / 334.4 MB, free: 14.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.0104, allocations: 29.7 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.0104, allocations: 0 / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01042, allocations: 4 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.01042, allocations: 0 / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.01042, allocations: 4 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.01044, allocations: 8.031 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.01044, allocations: 3.938 kB / 334.4 MB, free: 14.36 MB / 314.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.652e-05/0.01051, allocations: 139.5 kB / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-06/0.01051, allocations: 0 / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.012e-05/0.01052, allocations: 6.984 kB / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01053, allocations: 0 / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01053, allocations: 0 / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01053, allocations: 0 / 334.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.698e-05/0.01058, allocations: 66.19 kB / 334.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.01058, allocations: 0 / 334.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.01058, allocations: 4 kB / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.01058, allocations: 0 / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.01058, allocations: 0 / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01058, allocations: 4 kB / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01059, allocations: 3.938 kB / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.158e-05/0.01067, allocations: 112.5 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.01067, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.01068, allocations: 7.938 kB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-06/0.01069, allocations: 0 / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.0107, allocations: 3.984 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.0107, allocations: 0 / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.974e-06/0.01071, allocations: 8.891 kB / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 334.8 MB, free: 13.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005332/0.01124, allocations: 291.6 kB / 335.1 MB, free: 13.66 MB / 314.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.0009464/0.01219, allocations: 0.4901 MB / 335.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.01228, allocations: 115.7 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01228, allocations: 0 / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.01231, allocations: 89.95 kB / 335.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.967e-05/0.01236, allocations: 9.25 kB / 335.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.01251, allocations: 116.9 kB / 335.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.01254, allocations: 55.36 kB / 335.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.072e-06/0.01255, allocations: 4 kB / 335.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.01257, allocations: 55.36 kB / 336 MB, free: 12.65 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01257, allocations: 0 / 336 MB, free: 12.65 MB / 314.7 MB Notification: Performance of Templates: time 0.01217/0.02474, allocations: 9.392 MB / 345.4 MB, free: 3.25 MB / 314.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 -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.407341970130801]