Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002179/0.003409, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001928/0.003078, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8359/0.8359, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1297/0.9656, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1882/0.1882, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02002/0.2082, allocations: 12.31 MB / 266.1 MB, free: 3.883 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.387e-05, allocations: 6.25 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009295/0.0009433, allocations: 0.5594 MB / 267.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002246, allocations: 1.595 MB / 269.5 MB, free: 412 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.179e-05/0.002258, allocations: 0 / 269.5 MB, free: 412 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.156e-06/0.002261, allocations: 4 kB / 269.5 MB, free: 408 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.82e-07/0.002262, allocations: 0 / 269.5 MB, free: 408 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.002814, allocations: 307 kB / 269.8 MB, free: 100 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.002861, allocations: 11.98 kB / 269.8 MB, free: 88 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.754e-05/0.002888, allocations: 4 kB / 269.8 MB, free: 84 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.002918, allocations: 4 kB / 269.8 MB, free: 80 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.002935, allocations: 0 / 269.8 MB, free: 80 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.002942, allocations: 0 / 269.8 MB, free: 80 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.003372, allocations: 379.1 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.003385, allocations: 4 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.003401, allocations: 0 / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.003672, allocations: 259.3 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.003683, allocations: 4 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003684, allocations: 0 / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.003694, allocations: 0 / 270.5 MB, free: 15.45 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.0002819/0.003976, allocations: 290.1 kB / 270.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.004007, allocations: 11.97 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.004036, allocations: 4.938 kB / 270.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.004094, allocations: 101.8 kB / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.004103, allocations: 384 / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.004112, allocations: 384 / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.722e-05/0.004169, allocations: 59.95 kB / 270.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.004175, allocations: 4.188 kB / 270.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-06/0.00418, allocations: 384 / 270.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004185, allocations: 3.938 kB / 270.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.454e-05/0.0042, allocations: 33.69 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.291e-05/0.004253, allocations: 60.98 kB / 271 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.004287, allocations: 48.22 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.004303, allocations: 34.66 kB / 271.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.004305, allocations: 0 / 271.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.004332, allocations: 56.27 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 4.9e-07/0.004333, allocations: 0 / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.426e-05/0.004427, allocations: 118.8 kB / 271.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.004473, allocations: 158.2 kB / 271.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.697e-05/0.0045, allocations: 97.84 kB / 271.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.004509, allocations: 33.62 kB / 271.6 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/0.004526, allocations: 80.14 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.004542, allocations: 0 / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.004564, allocations: 13.72 kB / 271.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.00463, allocations: 318.8 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.004643, allocations: 25.7 kB / 272 MB, free: 13.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.004656, allocations: 29.7 kB / 272 MB, free: 13.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.004694, allocations: 68.44 kB / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.004695, allocations: 0 / 272.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.365e-05/0.004739, allocations: 85.05 kB / 272.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.004769, allocations: 33.7 kB / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004773, allocations: 0 / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.004784, allocations: 0 / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.004785, allocations: 0 / 272.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.004788, allocations: 3.984 kB / 272.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.0048, allocations: 0 / 272.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.004809, allocations: 7.938 kB / 272.2 MB, free: 13.43 MB / 282.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.846e-05/0.004857, allocations: 135.6 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/0.004863, allocations: 8 kB / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.011e-06/0.004869, allocations: 3 kB / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.00487, allocations: 0 / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.004871, allocations: 0 / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.004873, allocations: 0 / 272.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.094e-05/0.004914, allocations: 73.78 kB / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.5e-07/0.004915, allocations: 0 / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.004915, allocations: 0 / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-06/0.004918, allocations: 0 / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.92e-07/0.004918, allocations: 4 kB / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-06/0.004921, allocations: 0 / 272.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.004923, allocations: 4 kB / 272.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004924, allocations: 0 / 272.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.974e-05/0.004983, allocations: 124.4 kB / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.004993, allocations: 0 / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-06/0.004998, allocations: 4 kB / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-06/0.005005, allocations: 0 / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.005006, allocations: 0 / 272.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.952e-06/0.005012, allocations: 8.797 kB / 272.6 MB, free: 13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005012, allocations: 0 / 272.6 MB, free: 13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.005172, allocations: 67.83 kB / 272.6 MB, free: 12.94 MB / 282.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.000348/0.00552, allocations: 207.8 kB / 272.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.005612, allocations: 115.7 kB / 273 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.005614, allocations: 0 / 273 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.005645, allocations: 93.94 kB / 273.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.633e-05/0.005691, allocations: 7.938 kB / 273.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001363/0.005827, allocations: 108 kB / 273.2 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.44e-05/0.005852, allocations: 51.36 kB / 273.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.728e-06/0.005856, allocations: 0 / 273.2 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.00589, allocations: 63.56 kB / 273.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.00589, allocations: 0 / 273.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Templates: time 0.002892/0.008782, allocations: 1.528 MB / 274.8 MB, free: 10.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6636311262845993]