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.001341/0.001341, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001369/0.001369, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9493/0.9493, allocations: 177.1 MB / 205 MB, free: 5.434 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.2404/0.2404, allocations: 32.79 MB / 294.3 MB, free: 1.27 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.803e-06/1.803e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.669e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002096/0.002113, allocations: 1.735 MB / 377.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.00289, allocations: 0.5685 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.002946, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.00318, allocations: 55.69 kB / 378.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.003448, allocations: 95.53 kB / 378.5 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.003767, allocations: 175.5 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003906, allocations: 91.73 kB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.003988, allocations: 12.23 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.004044, allocations: 43.88 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.00412, allocations: 43.88 kB / 378.8 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004134, allocations: 4 kB / 378.9 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.004213, allocations: 59.86 kB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.222e-05/0.004265, allocations: 27.91 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.004291, allocations: 11.94 kB / 379 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.004435, allocations: 99.59 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004437, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004437, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004441, allocations: 0 / 379 MB, free: 1.621 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003708/0.004812, allocations: 440 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.004853, allocations: 12.03 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.004899, allocations: 16.78 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005029, allocations: 148.4 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005039, allocations: 8.375 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.005059, allocations: 4.375 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.00518, allocations: 62.94 kB / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.00519, allocations: 192 / 379.7 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005201, allocations: 8.125 kB / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.005208, allocations: 0 / 379.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.005246, allocations: 19.92 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.005555, allocations: 295.7 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.005704, allocations: 55.02 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.005728, allocations: 23.8 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.005743, allocations: 7.938 kB / 380.1 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.005762, allocations: 33.39 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005763, allocations: 0 / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005379/0.006301, allocations: 241.5 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.006328, allocations: 51.41 kB / 380.4 MB, free: 76 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.006449, allocations: 224 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.006462, allocations: 25.7 kB / 380.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.006509, allocations: 146.9 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.006536, allocations: 43.59 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.006569, allocations: 31.36 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.006675, allocations: 0.504 MB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.006702, allocations: 12.17 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.006726, allocations: 16 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.006784, allocations: 51.61 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006786, allocations: 4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.879e-05/0.006885, allocations: 89.58 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.006895, allocations: 8 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006898, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.00691, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.006969, allocations: 19.98 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.006973, allocations: 0 / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.006997, allocations: 7.984 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.007005, allocations: 8 kB / 381.6 MB, free: 14.84 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: 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 6.604e-05/0.007071, allocations: 160.5 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.007094, allocations: 15.91 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001485/0.007243, allocations: 126.7 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007245, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007249, allocations: 3.984 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007252, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.007586, allocations: 412.6 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007588, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.00764, allocations: 23.98 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007643, allocations: 0 / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007651, allocations: 4 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.007654, allocations: 11.98 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007655, allocations: 0 / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.007795, allocations: 271.1 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.007805, allocations: 11.94 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007816, allocations: 0 / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.007855, allocations: 7.938 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.007886, allocations: 11.98 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.007891, allocations: 4 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.007956, allocations: 162 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007956, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000163/0.008119, allocations: 27.94 kB / 382.9 MB, free: 13.51 MB / 362.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.0008206/0.00894, allocations: 434.3 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.009061, allocations: 63.55 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009062, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.009103, allocations: 43.59 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.009304, allocations: 23.94 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.009647, allocations: 266.1 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.009695, allocations: 75.27 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.009746, allocations: 28.45 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.009778, allocations: 16.5 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009779, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003225/0.013, allocations: 1.773 MB / 385.6 MB, free: 10.91 MB / 362.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.959323303308338]