Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001476/0.001476, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001905/0.001905, allocations: 165 kB / 24.56 MB, free: 4 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.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.605 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.2632/0.2632, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.942e-05, allocations: 5.406 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003479/0.003499, allocations: 2.054 MB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.005192, allocations: 1.109 MB / 379.2 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.005343, allocations: 7.938 kB / 379.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.005814, allocations: 267 kB / 379.5 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.006259, allocations: 266.9 kB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.007237, allocations: 0.6352 MB / 380.4 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.007706, allocations: 367 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.007909, allocations: 52.88 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.008161, allocations: 183.5 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.008414, allocations: 203.5 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.008445, allocations: 12 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.008647, allocations: 107.8 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.008776, allocations: 103.6 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.008846, allocations: 63.66 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.009247, allocations: 270.8 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.009253, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.009254, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.009261, allocations: 0 / 381.7 MB, free: 14.98 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.0006805/0.009941, allocations: 0.7126 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.009985, allocations: 8.031 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.01006, allocations: 52.66 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.01034, allocations: 282.7 kB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.01036, allocations: 8.375 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.0104, allocations: 8.375 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.01059, allocations: 102.9 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.0106, allocations: 4.125 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.01062, allocations: 12.12 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.01063, allocations: 3.984 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.01071, allocations: 44.56 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.01132, allocations: 479.3 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.01144, allocations: 82.91 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.01148, allocations: 19.69 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.01151, allocations: 7.984 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.01154, allocations: 37.39 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.01154, allocations: 0 / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006523/0.01219, allocations: 332.4 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.01223, allocations: 55.56 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.01258, allocations: 494.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.0126, allocations: 33.64 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.01273, allocations: 263.2 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.01278, allocations: 59.48 kB / 384.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.01283, allocations: 43.36 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.013, allocations: 0.5274 MB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.01305, allocations: 27.89 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.01309, allocations: 29.55 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.0132, allocations: 77.86 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.0132, allocations: 4 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000185/0.01338, allocations: 161.2 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.0134, allocations: 11.94 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01341, allocations: 0 / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.01342, allocations: 3.984 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01355, allocations: 35.98 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.01355, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.01359, allocations: 8 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.0136, allocations: 4 kB / 385.7 MB, free: 10.8 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 8.56e-05/0.01368, allocations: 164.5 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01372, allocations: 47.72 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.01398, allocations: 192.1 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01398, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01398, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.01398, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.01447, allocations: 0.5713 MB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01447, allocations: 0 / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.01454, allocations: 31.92 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01454, allocations: 0 / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01456, allocations: 8 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01456, allocations: 0 / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01456, allocations: 4 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.01478, allocations: 320.1 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.01481, allocations: 35.66 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01483, allocations: 4 kB / 387 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.01488, allocations: 4 kB / 387 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.01492, allocations: 15.97 kB / 387 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01493, allocations: 8 kB / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.01515, allocations: 331 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01515, allocations: 0 / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.01537, allocations: 51.92 kB / 387.4 MB, free: 8.953 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.001534/0.01691, allocations: 0.6551 MB / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.01709, allocations: 94.14 kB / 388.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01709, allocations: 4 kB / 388.2 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.01715, allocations: 59.59 kB / 388.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.01749, allocations: 91.34 kB / 388.3 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.01822, allocations: 0.5977 MB / 388.9 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.59e-05/0.0183, allocations: 116.3 kB / 389 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.071e-05/0.01839, allocations: 49.88 kB / 389.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.01845, allocations: 32.5 kB / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01845, allocations: 0 / 389.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of Templates: time 0.005591/0.02404, allocations: 3.46 MB / 392.6 MB, free: 4.078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.4339125328697264]