Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.001339/0.001339, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001103/0.001103, allocations: 171.4 kB / 24.91 MB, free: 9.191 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 0.9529/0.9529, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2568/0.2568, allocations: 32.81 MB / 294.6 MB, free: 1.258 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.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.654e-05, allocations: 3.516 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.00292/0.002946, allocations: 1.63 MB / 324.9 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.004401, allocations: 1.301 MB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.004459, allocations: 0 / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.00468, allocations: 23.78 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.004961, allocations: 83.56 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005185, allocations: 115.6 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.005303, allocations: 75.77 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.005379, allocations: 7.938 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.005437, allocations: 39.89 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.005524, allocations: 23.92 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.005536, allocations: 0 / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.005655, allocations: 91.81 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.005693, allocations: 19.91 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.005717, allocations: 12.56 kB / 326.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005885, allocations: 135.5 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.005888, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00589, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.005893, allocations: 4 kB / 326.8 MB, free: 6.137 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003139/0.006207, allocations: 305.5 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.006235, allocations: 8.031 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.006262, allocations: 4.938 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.006382, allocations: 132.3 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.006389, allocations: 384 / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.006407, allocations: 4.375 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.006512, allocations: 102.3 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.00652, allocations: 4.172 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.006528, allocations: 8.125 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.006534, allocations: 4 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.006551, allocations: 4 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.00675, allocations: 163.1 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.006869, allocations: 37.39 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.006883, allocations: 12.86 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.006897, allocations: 3.984 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.006918, allocations: 38.64 kB / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006919, allocations: 0 / 327.6 MB, free: 5.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002617/0.007181, allocations: 89.45 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.007221, allocations: 85.11 kB / 327.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.007314, allocations: 144.9 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.007323, allocations: 25.7 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.007353, allocations: 88.09 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.007369, allocations: 15.88 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.007395, allocations: 17.72 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.007463, allocations: 322.8 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.007472, allocations: 4 kB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.007498, allocations: 39.42 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.007524, allocations: 23.67 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007525, allocations: 3.938 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.284e-05/0.007578, allocations: 61.59 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.00759, allocations: 4 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.007593, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.007604, allocations: 0 / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.535e-05/0.007639, allocations: 11.98 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.007641, allocations: 256 / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.00766, allocations: 4 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.007665, allocations: 7.984 kB / 328.5 MB, free: 4.203 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 5.258e-05/0.007718, allocations: 124.6 kB / 328.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.007734, allocations: 11.92 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.007e-05/0.007814, allocations: 62.08 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.007815, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007816, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007819, allocations: 0 / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.007982, allocations: 210.8 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007984, allocations: 3.938 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.008006, allocations: 11.94 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.008007, allocations: 0 / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.008012, allocations: 3.984 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.008012, allocations: 0 / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.008013, allocations: 4 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.502e-05/0.008078, allocations: 139.5 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.008087, allocations: 15.88 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.008099, allocations: 3.984 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.008129, allocations: 4 kB / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.008146, allocations: 0 / 329.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.008149, allocations: 4 kB / 329.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.008178, allocations: 38 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008178, allocations: 0 / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.008332, allocations: 39.81 kB / 329.2 MB, free: 3.48 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001182/0.009514, allocations: 0.6281 MB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.009585, allocations: 24.84 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.009588, allocations: 4 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.009605, allocations: 16.8 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.009739, allocations: 19.92 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.009976, allocations: 174.5 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.01001, allocations: 59.34 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.01004, allocations: 12 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.01009, allocations: 63.36 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0101, allocations: 0 / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of Templates: time 0.003108/0.0132, allocations: 2.003 MB / 332.2 MB, free: 0.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.038262198213488]