Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008763/0.0008763, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.000961/0.000961, allocations: 165.5 kB / 24.99 MB, free: 8.34 MB / 18.57 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2659/0.2659, allocations: 32.8 MB / 294.6 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.139e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001415/0.001447, allocations: 0.5081 MB / 376.5 MB, free: 4.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.00324, allocations: 1.596 MB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.003269, allocations: 0 / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.003292, allocations: 0 / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.967e-06/0.003301, allocations: 0 / 378.1 MB, free: 2.879 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0009053/0.004206, allocations: 295.1 kB / 378.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.149e-05/0.004268, allocations: 4 kB / 378.4 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.004311, allocations: 4 kB / 378.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.00434, allocations: 0 / 378.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.004358, allocations: 3.938 kB / 378.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-06/0.004366, allocations: 0 / 378.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.004896, allocations: 435 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.004904, allocations: 0 / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.004928, allocations: 3.938 kB / 378.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.005282, allocations: 315.2 kB / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005285, allocations: 0 / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.005287, allocations: 0 / 379.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005291, allocations: 0 / 379.1 MB, free: 1.84 MB / 346.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.0003294/0.005621, allocations: 397.7 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.00566, allocations: 12.02 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.005704, allocations: 8.938 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.541e-05/0.005769, allocations: 112.6 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.005781, allocations: 384 / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.00579, allocations: 384 / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.005886, allocations: 55.97 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005894, allocations: 192 / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.005902, allocations: 384 / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.005911, allocations: 3.938 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.005932, allocations: 37.62 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.419e-05/0.006026, allocations: 104.6 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.006079, allocations: 56.8 kB / 379.9 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.006101, allocations: 37.39 kB / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-06/0.006106, allocations: 0 / 379.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.006144, allocations: 63.16 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.006146, allocations: 0 / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002003/0.006346, allocations: 118.7 kB / 380.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.006394, allocations: 81.05 kB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.006442, allocations: 146.2 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.006451, allocations: 25.7 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.006483, allocations: 130.9 kB / 380.5 MB, free: 252 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.006505, allocations: 4.469 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.006533, allocations: 19.36 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.006658, allocations: 496.1 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.006683, allocations: 25.7 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.006695, allocations: 25.7 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.00675, allocations: 71.03 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006753, allocations: 0 / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.913e-05/0.006822, allocations: 93.05 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.006851, allocations: 33.7 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006857, allocations: 4.094 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006869, allocations: 3.938 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.00687, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006877, allocations: 3.938 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.006894, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.0069, allocations: 0 / 381.2 MB, free: 15.41 MB / 362.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.63e-05/0.006976, allocations: 186.3 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.006985, allocations: 7.984 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.018e-05/0.006995, allocations: 7 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006997, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007, allocations: 4 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007004, allocations: 3.938 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.479e-05/0.007059, allocations: 108.6 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.00706, allocations: 4 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.007062, allocations: 4 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007063, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.00707, allocations: 3.938 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007071, allocations: 3.984 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007072, allocations: 0 / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.007174, allocations: 127.8 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.007181, allocations: 8.016 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007196, allocations: 4 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.007203, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.007216, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.007219, allocations: 4 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.007251, allocations: 123.1 kB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007251, allocations: 0 / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.007522, allocations: 63.8 kB / 381.9 MB, free: 14.68 MB / 362.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.0004848/0.008007, allocations: 191.7 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.008142, allocations: 122.4 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.008144, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.008176, allocations: 100.8 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.944e-05/0.008276, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.008489, allocations: 113.7 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.008523, allocations: 55.34 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.008529, allocations: 4 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.36e-05/0.008543, allocations: 8.5 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.008544, allocations: 0 / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Templates: time 0.003837/0.01238, allocations: 1.324 MB / 383.8 MB, free: 12.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.153141416842118]