Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001021/0.001021, 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.001064/0.001064, allocations: 165 kB / 24.56 MB, free: 12 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 1.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2763/0.2763, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.936e-05, allocations: 2.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00245/0.002469, allocations: 2.043 MB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.003893, allocations: 1.105 MB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.003998, allocations: 3.938 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.004423, allocations: 267 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.004847, allocations: 274.8 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.00603, allocations: 0.6275 MB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.006482, allocations: 370.9 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.006634, allocations: 48.84 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.006814, allocations: 183.5 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.007008, allocations: 207.5 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.007035, allocations: 12 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007163, allocations: 79.83 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.007272, allocations: 99.61 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.398e-05/0.007326, allocations: 59.72 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.007597, allocations: 250.9 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.007601, allocations: 4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007601, allocations: 4 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.007607, allocations: 3.984 kB / 383.7 MB, free: 12.96 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.0006303/0.008238, allocations: 0.6932 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.008273, allocations: 8.031 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.097e-05/0.008354, allocations: 56.59 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.008618, allocations: 286.6 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.008632, allocations: 8.375 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.008661, allocations: 12.38 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.008838, allocations: 102.8 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.008853, allocations: 192 / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.008868, allocations: 12.12 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.008877, allocations: 7.938 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.008948, allocations: 40.61 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.00943, allocations: 475.3 kB / 385.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.009533, allocations: 74.97 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.009567, allocations: 27.67 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.009589, allocations: 4 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.009611, allocations: 37.39 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.009612, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005696/0.01018, allocations: 342.5 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.01021, allocations: 55.41 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.01054, allocations: 494.7 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01055, allocations: 29.7 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01068, allocations: 263.2 kB / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.01072, allocations: 59.48 kB / 386.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.01076, allocations: 39.36 kB / 386.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01091, allocations: 0.5313 MB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.01095, allocations: 31.88 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.01099, allocations: 27.98 kB / 387.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.0111, allocations: 78.02 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0111, allocations: 4 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001783/0.01128, allocations: 165.2 kB / 387.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01129, allocations: 11.94 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01129, allocations: 0 / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01131, allocations: 0 / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.01141, allocations: 27.98 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01141, allocations: 4 kB / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.01144, allocations: 0 / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.01145, allocations: 11.98 kB / 387.6 MB, free: 8.789 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.809e-05/0.01153, allocations: 168.5 kB / 387.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.01157, allocations: 51.72 kB / 387.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.0118, allocations: 187.8 kB / 388 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01181, allocations: 3.984 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01181, allocations: 0 / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01182, allocations: 3.984 kB / 388 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.01228, allocations: 0.5635 MB / 388.6 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01228, allocations: 3.938 kB / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.01234, allocations: 35.92 kB / 388.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01234, allocations: 4 kB / 388.6 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.01235, allocations: 4 kB / 388.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01235, allocations: 0 / 388.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01236, allocations: 7.984 kB / 388.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.01255, allocations: 313.7 kB / 389 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.01257, allocations: 35.72 kB / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01259, allocations: 7.984 kB / 389 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.01263, allocations: 4 kB / 389 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.01267, allocations: 11.98 kB / 389 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.01268, allocations: 4 kB / 389 MB, free: 7.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004688/0.01315, allocations: 335 kB / 389.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 389.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01334, allocations: 55.92 kB / 389.4 MB, free: 6.938 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.001331/0.01468, allocations: 0.6498 MB / 390.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.01484, allocations: 95.48 kB / 390.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01484, allocations: 0 / 390.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.662e-05/0.01489, allocations: 58.42 kB / 390.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.0152, allocations: 95.48 kB / 390.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.01583, allocations: 0.6079 MB / 390.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.586e-05/0.01591, allocations: 120.2 kB / 391 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.01599, allocations: 49.89 kB / 391.1 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.01604, allocations: 28.48 kB / 391.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01604, allocations: 7.938 kB / 391.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of Templates: time 0.005595/0.02164, allocations: 3.745 MB / 394.8 MB, free: 1.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.094428208656609]