Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.0009852/0.0009852, 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.001285/0.001285, allocations: 170.7 kB / 24.92 MB, free: 8.73 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.9624/0.9624, allocations: 177.1 MB / 205.3 MB, free: 5.059 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.2459/0.2459, allocations: 32.8 MB / 294.6 MB, free: 1.211 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.905e-05, allocations: 4.172 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002039/0.002058, allocations: 1.715 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.002834, allocations: 0.5723 MB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.00289, allocations: 4 kB / 325.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.003107, allocations: 51.67 kB / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.003353, allocations: 95.53 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003659, allocations: 175.5 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003794, allocations: 91.75 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.00387, allocations: 12.84 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.003931, allocations: 47.89 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.004015, allocations: 43.88 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.00403, allocations: 8 kB / 326 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.00411, allocations: 51.86 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.004162, allocations: 23.86 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.004184, allocations: 19.92 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004314, allocations: 95.64 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.004316, allocations: 0 / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004316, allocations: 0 / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.004319, allocations: 0 / 326.2 MB, free: 6.688 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002957/0.004614, allocations: 309.5 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004643, allocations: 12.03 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.00467, allocations: 8.922 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004808, allocations: 144.9 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.004819, allocations: 8.375 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.00484, allocations: 8.312 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.004933, allocations: 62.94 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004942, allocations: 4.141 kB / 326.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.00495, allocations: 8.062 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004956, allocations: 4 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.28e-05/0.004979, allocations: 7.984 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.005193, allocations: 179.1 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.005316, allocations: 50.58 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.005333, allocations: 12.84 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.005348, allocations: 3.984 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005367, allocations: 38.5 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.005368, allocations: 0 / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004559/0.005824, allocations: 214 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.00585, allocations: 51.41 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.005935, allocations: 156.3 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.005951, allocations: 33.7 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.005978, allocations: 92.11 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.006008, allocations: 43.58 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.006038, allocations: 25.7 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.006109, allocations: 326.7 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.006127, allocations: 15.94 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.006145, allocations: 12.97 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.384e-05/0.006189, allocations: 36.77 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.00619, allocations: 4 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.612e-05/0.006256, allocations: 65.61 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.006267, allocations: 10.19 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006271, allocations: 0.5625 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.006281, allocations: 0 / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.006338, allocations: 27.97 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006341, allocations: 0 / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.006362, allocations: 4 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.00637, allocations: 11.94 kB / 328.2 MB, free: 4.582 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 (11): * Single equations (assignments): 11 * 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.578e-05/0.006425, allocations: 120.6 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.006444, allocations: 11.98 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.006557, allocations: 88.45 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006558, allocations: 0 / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006559, allocations: 4 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006563, allocations: 3.984 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.006808, allocations: 280.2 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.00681, allocations: 4 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.006855, allocations: 19.98 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.006856, allocations: 4.062 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006863, allocations: 8 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006864, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006865, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.006961, allocations: 185 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.00697, allocations: 11.91 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.006983, allocations: 8 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.007021, allocations: 4 kB / 328.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.007049, allocations: 19.91 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.007053, allocations: 0 / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.214e-05/0.007085, allocations: 46.09 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007085, allocations: 0 / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.007234, allocations: 27.92 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001108/0.008342, allocations: 0.5715 MB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.008431, allocations: 44.78 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.008435, allocations: 4 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.008467, allocations: 36.78 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.008621, allocations: 26.09 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.008948, allocations: 256.8 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.008995, allocations: 83.34 kB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.009034, allocations: 16.61 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.009089, allocations: 63.31 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00909, allocations: 0 / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Templates: time 0.002977/0.01207, allocations: 1.74 MB / 331.8 MB, free: 1.109 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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.882347736041993]