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.000865/0.000865, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001039/0.001039, allocations: 170 kB / 24.82 MB, free: 9.266 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3078/0.3078, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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 2.264e-06/2.264e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.393e-05, allocations: 6.25 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003415/0.003449, allocations: 2.022 MB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.005142, allocations: 1.09 MB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.005391, allocations: 3.938 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.005857, allocations: 270.9 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005511/0.006408, allocations: 266.9 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.007472, allocations: 0.6353 MB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.007899, allocations: 370.9 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.008071, allocations: 51.78 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.00842, allocations: 179.5 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.008633, allocations: 207.5 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.00866, allocations: 12 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.008827, allocations: 79.77 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.00894, allocations: 103.6 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.008994, allocations: 55.72 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.009312, allocations: 266.8 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.009316, allocations: 3.984 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009317, allocations: 0 / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.009322, allocations: 0 / 384.1 MB, free: 12.77 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.0006151/0.009937, allocations: 0.6893 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.009979, allocations: 16.03 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.01005, allocations: 56.59 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.01032, allocations: 282.6 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.01034, allocations: 8.375 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.01038, allocations: 16.38 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.01055, allocations: 94.84 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01056, allocations: 192 / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.01058, allocations: 8.125 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01059, allocations: 4 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.01064, allocations: 32.61 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.01113, allocations: 415.8 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.01123, allocations: 74.95 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.01126, allocations: 27.67 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.0113, allocations: 7.984 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.01133, allocations: 33.39 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.823e-06/0.01133, allocations: 0 / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005575/0.01189, allocations: 265.4 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.01192, allocations: 55.34 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.01223, allocations: 478.5 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.01225, allocations: 25.7 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/0.0128, allocations: 275.1 kB / 386.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.01284, allocations: 59.47 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.01289, allocations: 43.34 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.01304, allocations: 0.5351 MB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.459e-05/0.01308, allocations: 19.89 kB / 387.6 MB, free: 9.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.01311, allocations: 34 kB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.01318, allocations: 53.41 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01318, allocations: 0 / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00015/0.01333, allocations: 153.2 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.01335, allocations: 7.984 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01335, allocations: 4 kB / 387.8 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01337, allocations: 3.938 kB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01348, allocations: 31.98 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.01348, allocations: 0 / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.01352, allocations: 8 kB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.01353, allocations: 4 kB / 387.9 MB, free: 8.801 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 0.0001015/0.01363, allocations: 164.5 kB / 388 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.01368, allocations: 55.67 kB / 388.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.01394, allocations: 180.4 kB / 388.2 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01394, allocations: 7.938 kB / 388.3 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01394, allocations: 4 kB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01395, allocations: 0 / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.01446, allocations: 497.6 kB / 388.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.01446, allocations: 7.938 kB / 388.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.01455, allocations: 35.91 kB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01455, allocations: 0 / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01456, allocations: 4 kB / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.01457, allocations: 0 / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01457, allocations: 0 / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.01479, allocations: 303.4 kB / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01482, allocations: 39.7 kB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01484, allocations: 8 kB / 389.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.927e-05/0.01489, allocations: 4 kB / 389.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.01493, allocations: 15.97 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.01494, allocations: 0 / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.01511, allocations: 307 kB / 389.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01511, allocations: 7.938 kB / 389.5 MB, free: 7.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.01533, allocations: 43.94 kB / 389.5 MB, free: 7.082 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.001598/0.01693, allocations: 0.6536 MB / 390.2 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.0171, allocations: 87.47 kB / 390.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.0171, allocations: 0 / 390.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.01715, allocations: 51.59 kB / 390.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01752, allocations: 98.12 kB / 390.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.01833, allocations: 0.5948 MB / 391 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.227e-05/0.01841, allocations: 128.2 kB / 391.1 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.01849, allocations: 41.91 kB / 391.2 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.01861, allocations: 118.2 kB / 391.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01862, allocations: 0 / 391.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of Templates: time 0.006881/0.0255, allocations: 3.798 MB / 395.1 MB, free: 1.801 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.4139885851182044]