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.001044/0.001044, allocations: 81.95 kB / 21.44 MB, free: 3.059 MB / 18.57 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.00113/0.00113, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 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 1.059/1.059, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.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.1506/0.1506, allocations: 32.39 MB / 271.5 MB, free: 14.4 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.693e-06/1.693e-06, allocations: 0 / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.878e-05, allocations: 2.312 kB / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001669/0.001698, allocations: 0.5219 MB / 349.4 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.004047, allocations: 1.576 MB / 351 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.004069, allocations: 3.938 kB / 351 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.004087, allocations: 0 / 351 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.004093, allocations: 0 / 351 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.005094, allocations: 291.1 kB / 351.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.99e-05/0.005144, allocations: 4 kB / 351.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.005193, allocations: 3.938 kB / 351.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.005231, allocations: 4 kB / 351.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.665e-05/0.005258, allocations: 0 / 351.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.005268, allocations: 0 / 351.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006377/0.005905, allocations: 423 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.005915, allocations: 0 / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.005932, allocations: 4 kB / 351.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000421/0.006354, allocations: 319.1 kB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006356, allocations: 0 / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006356, allocations: 0 / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.00636, allocations: 0 / 352 MB, free: 6.043 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.0002085/0.006568, allocations: 397.7 kB / 352.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.006596, allocations: 12.03 kB / 352.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.707e-05/0.006613, allocations: 0.9375 kB / 352.4 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.561e-05/0.006648, allocations: 104.6 kB / 352.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.006656, allocations: 384 / 352.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.006661, allocations: 4.375 kB / 352.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.026e-05/0.006712, allocations: 59.89 kB / 352.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.006717, allocations: 4.188 kB / 352.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.006722, allocations: 4.375 kB / 352.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006727, allocations: 3.938 kB / 352.6 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.097e-05/0.006738, allocations: 25.7 kB / 352.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.608e-05/0.006794, allocations: 97.27 kB / 352.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.033e-05/0.006824, allocations: 48.77 kB / 352.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.468e-05/0.006839, allocations: 37.42 kB / 352.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-06/0.006843, allocations: 7.984 kB / 352.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.006866, allocations: 63.03 kB / 352.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.793e-06/0.006868, allocations: 3.984 kB / 352.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.006971, allocations: 118.8 kB / 353 MB, free: 4.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.006999, allocations: 81.09 kB / 353.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.768e-05/0.007026, allocations: 146.2 kB / 353.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.007035, allocations: 25.7 kB / 353.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.007056, allocations: 126.9 kB / 353.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.007071, allocations: 4.328 kB / 353.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.007097, allocations: 19.38 kB / 353.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.007167, allocations: 496.1 kB / 353.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.007178, allocations: 25.7 kB / 353.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.00719, allocations: 33.83 kB / 353.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.007221, allocations: 67.02 kB / 354 MB, free: 3.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.007222, allocations: 0 / 354 MB, free: 3.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.582e-05/0.007278, allocations: 93.06 kB / 354.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.007299, allocations: 33.7 kB / 354.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.007302, allocations: 0 / 354.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.00731, allocations: 0 / 354.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.007312, allocations: 4 kB / 354.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007315, allocations: 0 / 354.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.007329, allocations: 7.922 kB / 354.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.007334, allocations: 8.094 kB / 354.1 MB, free: 3.629 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 6.16e-05/0.007396, allocations: 178.3 kB / 354.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.007406, allocations: 4 kB / 354.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-06/0.007416, allocations: 3 kB / 354.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.007417, allocations: 0 / 354.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.007419, allocations: 0 / 354.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007423, allocations: 3.938 kB / 354.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.052e-05/0.007473, allocations: 97.2 kB / 354.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.007475, allocations: 7.984 kB / 354.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.007475, allocations: 0 / 354.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.007477, allocations: 4 kB / 354.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.00748, allocations: 0 / 354.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007481, allocations: 0 / 354.4 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007481, allocations: 3.938 kB / 354.4 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.189e-05/0.007563, allocations: 131.8 kB / 354.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.007568, allocations: 4 kB / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007579, allocations: 0 / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-06/0.007587, allocations: 0 / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.007597, allocations: 0 / 354.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.007601, allocations: 4 kB / 354.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.00762, allocations: 119.2 kB / 354.7 MB, free: 3 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00762, allocations: 4.031 kB / 354.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.007934, allocations: 67.73 kB / 354.7 MB, free: 2.93 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.000433/0.008367, allocations: 199.3 kB / 354.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.008504, allocations: 122.5 kB / 355.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.008507, allocations: 0 / 355.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.008548, allocations: 88.8 kB / 355.1 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.008696, allocations: 3.938 kB / 355.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.008907, allocations: 117.6 kB / 355.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.008937, allocations: 51.36 kB / 355.3 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.174e-06/0.008945, allocations: 4.125 kB / 355.3 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.008987, allocations: 74.2 kB / 355.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.008988, allocations: 0 / 355.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of Templates: time 0.004098/0.01309, allocations: 1.521 MB / 356.9 MB, free: 0.6602 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.280620636884123]