Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008232/0.0008232, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.00192, allocations: 449.7 kB / 10.37 MB, free: 328 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.001135/0.001135, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002606, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.95/0.95, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08329/1.033, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2459/0.2459, allocations: 34.26 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02224/0.2681, allocations: 13.09 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.5e-06, allocations: 4 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.932e-05, allocations: 5.281 kB / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001946/0.001975, allocations: 0.5457 MB / 293.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.004173, allocations: 1.6 MB / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.004187, allocations: 0 / 294.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.054e-06/0.004194, allocations: 7.938 kB / 294.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.413e-06/0.004196, allocations: 0 / 294.8 MB, free: 4.141 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0009292/0.005125, allocations: 305.3 kB / 295.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.457e-05/0.005179, allocations: 4.5 kB / 295.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.005218, allocations: 4 kB / 295.1 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.005252, allocations: 3.984 kB / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.236e-05/0.005274, allocations: 0 / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.005282, allocations: 0 / 295.1 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006754/0.005957, allocations: 391.1 kB / 295.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.005967, allocations: 0 / 295.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.005981, allocations: 0 / 295.5 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.006365, allocations: 271.3 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.006383, allocations: 0 / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006385, allocations: 0 / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.006402, allocations: 4 kB / 295.7 MB, free: 3.18 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.0003603/0.006762, allocations: 290 kB / 296 MB, free: 2.867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.0068, allocations: 8.031 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.006834, allocations: 0.9375 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.006919, allocations: 105.8 kB / 296.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.006934, allocations: 4.359 kB / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.006942, allocations: 384 / 296.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/0.007022, allocations: 59.91 kB / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.00703, allocations: 192 / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.007036, allocations: 384 / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.007043, allocations: 7.938 kB / 296.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.007068, allocations: 29.7 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.481e-05/0.007142, allocations: 57.05 kB / 296.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.893e-05/0.007191, allocations: 48.3 kB / 296.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.007213, allocations: 34.62 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.007216, allocations: 0 / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.007256, allocations: 60.2 kB / 296.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.007257, allocations: 0 / 296.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000134/0.007391, allocations: 114.8 kB / 296.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.007434, allocations: 77.23 kB / 296.6 MB, free: 2.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.088e-05/0.007475, allocations: 93.86 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007485, allocations: 25.7 kB / 296.7 MB, free: 2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.007514, allocations: 92.12 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.007532, allocations: 0 / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.007563, allocations: 9.719 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.007655, allocations: 318.8 kB / 297.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.007673, allocations: 25.7 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.00769, allocations: 33.62 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.007744, allocations: 68.2 kB / 297.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.007746, allocations: 4.062 kB / 297.3 MB, free: 1.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.284e-05/0.007819, allocations: 85.09 kB / 297.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.007862, allocations: 29.7 kB / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.007869, allocations: 4 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.007878, allocations: 0 / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-06/0.007885, allocations: 4 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007889, allocations: 3.984 kB / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.007909, allocations: 0.6875 kB / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.007917, allocations: 3.938 kB / 297.4 MB, free: 1.262 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 7.771e-05/0.007994, allocations: 135.5 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.008002, allocations: 4.031 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.008016, allocations: 6.984 kB / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.008019, allocations: 4 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008021, allocations: 0 / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008024, allocations: 3.938 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.263e-05/0.008087, allocations: 65.84 kB / 297.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008088, allocations: 0 / 297.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.00809, allocations: 0 / 297.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.008094, allocations: 4 kB / 297.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008095, allocations: 0 / 297.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.008099, allocations: 0 / 297.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.008101, allocations: 4 kB / 297.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.008103, allocations: 3.984 kB / 297.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/0.008199, allocations: 120.5 kB / 297.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.008211, allocations: 0 / 297.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.008222, allocations: 3.984 kB / 297.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.008231, allocations: 0 / 297.7 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.008235, allocations: 4 kB / 297.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.664e-06/0.008243, allocations: 4.859 kB / 297.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008243, allocations: 0 / 297.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.008525, allocations: 63.8 kB / 297.8 MB, free: 0.7773 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.0005172/0.009042, allocations: 196.8 kB / 298 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.009167, allocations: 119.7 kB / 298.1 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.009171, allocations: 0 / 298.1 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.009215, allocations: 85.97 kB / 298.2 MB, free: 356 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.293e-05/0.009278, allocations: 7.938 kB / 298.2 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.009468, allocations: 113.2 kB / 298.3 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.0095, allocations: 55.36 kB / 298.4 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.332e-06/0.009506, allocations: 0 / 298.4 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.009548, allocations: 51.38 kB / 298.4 MB, free: 72 kB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.009549, allocations: 4.125 kB / 298.4 MB, free: 68 kB / 282.7 MB Notification: Performance of Templates: time 0.00441/0.01396, allocations: 1.505 MB / 299.9 MB, free: 14.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.802251380868256]