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.001437/0.001437, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001457/0.001457, allocations: 173 kB / 24.05 MB, free: 456 kB / 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 0.9389/0.9389, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1348/0.1348, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.994e-06/1.994e-06, allocations: 0 / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.956e-05, allocations: 6.25 kB / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009947/0.001014, allocations: 0.5198 MB / 348.6 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.002535, allocations: 1.572 MB / 350.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.002557, allocations: 3.938 kB / 350.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.002574, allocations: 0 / 350.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.00258, allocations: 0 / 350.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.0033, allocations: 295.1 kB / 350.5 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.242e-05/0.003342, allocations: 4 kB / 350.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.003375, allocations: 4 kB / 350.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.003407, allocations: 0 / 350.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.003428, allocations: 0 / 350.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.003436, allocations: 0 / 350.5 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.003836, allocations: 423 kB / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.003844, allocations: 0 / 350.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.003858, allocations: 4 kB / 350.9 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.004125, allocations: 315.1 kB / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004127, allocations: 0 / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004127, allocations: 0 / 351.2 MB, free: 6.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.004131, allocations: 0 / 351.2 MB, free: 6.055 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.0003421/0.004473, allocations: 397.7 kB / 351.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.004514, allocations: 12.03 kB / 351.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.004542, allocations: 0.9375 kB / 351.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.311e-05/0.004585, allocations: 108.6 kB / 351.7 MB, free: 5.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004594, allocations: 4.375 kB / 351.7 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.0046, allocations: 4.375 kB / 351.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.831e-05/0.004658, allocations: 59.89 kB / 351.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.004664, allocations: 192 / 351.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.00467, allocations: 4.375 kB / 351.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004677, allocations: 3.938 kB / 351.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.105e-05/0.004688, allocations: 25.7 kB / 351.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.465e-05/0.004742, allocations: 93.27 kB / 351.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.893e-05/0.004771, allocations: 48.77 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.139e-05/0.004783, allocations: 49.41 kB / 352 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.004786, allocations: 0 / 352 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.00481, allocations: 67.03 kB / 352.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.004811, allocations: 0 / 352.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.004922, allocations: 110.8 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/0.004941, allocations: 85.09 kB / 352.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.751e-05/0.004958, allocations: 142.2 kB / 352.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-06/0.004962, allocations: 25.7 kB / 352.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-06/0.004971, allocations: 126.9 kB / 352.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.004985, allocations: 4.328 kB / 352.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.005003, allocations: 19.5 kB / 352.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.005045, allocations: 0.4883 MB / 353.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.005054, allocations: 29.7 kB / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.005061, allocations: 29.7 kB / 353.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.005089, allocations: 75.02 kB / 353.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005091, allocations: 0 / 353.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.72e-05/0.005128, allocations: 89.05 kB / 353.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.005147, allocations: 33.7 kB / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005151, allocations: 0 / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.005163, allocations: 96 / 353.3 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.005164, allocations: 7.984 kB / 353.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005166, allocations: 0 / 353.3 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.005176, allocations: 7.938 kB / 353.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005181, allocations: 4 kB / 353.3 MB, free: 3.637 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.787e-05/0.005229, allocations: 178.3 kB / 353.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.005233, allocations: 4 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.094e-05/0.005244, allocations: 6.938 kB / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.005245, allocations: 0 / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.005246, allocations: 0 / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005249, allocations: 0 / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.606e-05/0.005285, allocations: 109.2 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005286, allocations: 0 / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.005286, allocations: 0 / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.005287, allocations: 0 / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.00529, allocations: 0 / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005291, allocations: 0 / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005291, allocations: 3.938 kB / 353.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.013e-05/0.005342, allocations: 131.8 kB / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-06/0.005345, allocations: 0 / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-06/0.005353, allocations: 0 / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.005357, allocations: 0 / 353.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-06/0.005365, allocations: 8.031 kB / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-06/0.005366, allocations: 0 / 353.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.364e-05/0.005379, allocations: 119.2 kB / 353.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005379, allocations: 3.938 kB / 353.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.005584, allocations: 71.73 kB / 354 MB, free: 2.934 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.0002645/0.005849, allocations: 193.8 kB / 354.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.005912, allocations: 122.5 kB / 354.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005914, allocations: 0 / 354.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.005927, allocations: 88.8 kB / 354.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.933e-05/0.006007, allocations: 8.062 kB / 354.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001009/0.006108, allocations: 117.6 kB / 354.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.661e-05/0.006124, allocations: 55.36 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.006129, allocations: 0 / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.006152, allocations: 70.2 kB / 354.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.006152, allocations: 0 / 354.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of Templates: time 0.002479/0.00863, allocations: 1.513 MB / 356.1 MB, free: 0.6797 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: 2.917760627809912]