Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.00101/0.00101, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001045/0.001045, allocations: 165 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.9705/0.9705, allocations: 177.1 MB / 205 MB, free: 5.629 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.2272/0.2272, allocations: 32.8 MB / 294.3 MB, free: 1.289 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.734e-05, allocations: 6.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002443/0.00246, allocations: 2.046 MB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003749, allocations: 1.105 MB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.003839, allocations: 7.938 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.004204, allocations: 274.9 kB / 379.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.004573, allocations: 262.9 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.005399, allocations: 0.6352 MB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000333/0.005732, allocations: 371 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005859, allocations: 56.81 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.006008, allocations: 179.5 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.006178, allocations: 203.5 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.006201, allocations: 8 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.006312, allocations: 79.78 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.006406, allocations: 103.6 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.006457, allocations: 59.66 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.006945, allocations: 266.9 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006947, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006947, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.006951, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005207/0.007472, allocations: 0.6893 MB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.007506, allocations: 12.03 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.007572, allocations: 56.64 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007799, allocations: 274.7 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.007811, allocations: 8.375 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.007833, allocations: 12.38 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.007983, allocations: 111.5 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.007993, allocations: 192 / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.008005, allocations: 12.06 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.008013, allocations: 4 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.008079, allocations: 40.56 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.008515, allocations: 487.3 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.008611, allocations: 67.05 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.008647, allocations: 35.55 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.008668, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.008688, allocations: 37.39 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.008689, allocations: 4.219 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005328/0.009222, allocations: 330.8 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.009252, allocations: 55.41 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.009572, allocations: 498.6 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.009585, allocations: 25.7 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.0097, allocations: 271.2 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.009736, allocations: 55.48 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.009773, allocations: 35.38 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.009901, allocations: 0.5352 MB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.009942, allocations: 27.89 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.009981, allocations: 31.98 kB / 385.3 MB, free: 11.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/0.01008, allocations: 77.7 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01008, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001683/0.01025, allocations: 165.2 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.01026, allocations: 7.938 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.01026, allocations: 3.938 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.01027, allocations: 4 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.01037, allocations: 27.98 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01037, allocations: 3.984 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.01041, allocations: 8 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01041, allocations: 12 kB / 385.6 MB, free: 10.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 (17): * Single equations (assignments): 17 * 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 7.781e-05/0.01049, allocations: 164.5 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.01053, allocations: 43.72 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.01077, allocations: 195.8 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01077, allocations: 4 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.01078, allocations: 0 / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01078, allocations: 0 / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.01123, allocations: 0.5674 MB / 386.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01123, allocations: 0 / 386.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.0113, allocations: 39.92 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.0113, allocations: 3.984 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01131, allocations: 4 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01131, allocations: 0 / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01131, allocations: 0 / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.0115, allocations: 322 kB / 386.9 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.01152, allocations: 31.72 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01154, allocations: 8 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.01158, allocations: 4 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.01161, allocations: 11.97 kB / 387 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.01162, allocations: 8 kB / 387 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.01181, allocations: 331 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01181, allocations: 0 / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.012, allocations: 47.94 kB / 387.4 MB, free: 9.004 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001386/0.01339, allocations: 0.6495 MB / 388 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.01354, allocations: 102.6 kB / 388.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01354, allocations: 0 / 388.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.01359, allocations: 59.59 kB / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01389, allocations: 100.1 kB / 388.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.01485, allocations: 0.5899 MB / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.01492, allocations: 124.2 kB / 389 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.461e-05/0.015, allocations: 49.91 kB / 389 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.01506, allocations: 28.48 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01506, allocations: 0 / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of Templates: time 0.005457/0.02051, allocations: 3.744 MB / 392.8 MB, free: 3.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.986516861245036]