Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001088/0.001088, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001656/0.001656, allocations: 165.4 kB / 24.56 MB, free: 8 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.02/1.02, allocations: 177.2 MB / 205 MB, free: 5.281 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.2746/0.2746, allocations: 34.26 MB / 295.7 MB, free: 0.7266 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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.563e-05, allocations: 2.312 kB / 378.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.002729/0.002754, allocations: 2.05 MB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004092, allocations: 1 MB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.004209, allocations: 4 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.004625, allocations: 259 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.005065, allocations: 274.9 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.006069, allocations: 478.8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.006448, allocations: 339 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.006608, allocations: 48.89 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.006806, allocations: 167.6 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.006998, allocations: 199.5 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.007022, allocations: 12 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.007183, allocations: 107.8 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.007292, allocations: 95.67 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.00735, allocations: 59.66 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.007657, allocations: 258.9 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007662, allocations: 3.984 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007663, allocations: 4 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007668, allocations: 0 / 383.4 MB, free: 13.32 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.000574/0.008242, allocations: 0.6893 MB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008283, allocations: 12.03 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.008355, allocations: 52.61 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.008594, allocations: 270.7 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.008605, allocations: 8.375 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.008636, allocations: 20.33 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.008798, allocations: 94.91 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.00881, allocations: 192 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.008825, allocations: 12.12 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.008833, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.66e-05/0.008899, allocations: 40.56 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.009403, allocations: 483.2 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.009512, allocations: 75.03 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.009551, allocations: 31.61 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.009579, allocations: 8 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.009603, allocations: 33.39 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.009603, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000598/0.0102, allocations: 325.3 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.01023, allocations: 55.41 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.01056, allocations: 478.7 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.01058, allocations: 37.64 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.0107, allocations: 263.2 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.01074, allocations: 63.47 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.01078, allocations: 35.38 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.01093, allocations: 0.5313 MB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.01097, allocations: 31.89 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.01101, allocations: 30.02 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.0111, allocations: 78.02 kB / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.0111, allocations: 0 / 387.1 MB, free: 9.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001805/0.01128, allocations: 161.3 kB / 387.2 MB, free: 9.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.0113, allocations: 7.938 kB / 387.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.0113, allocations: 0 / 387.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.01132, allocations: 4 kB / 387.2 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01143, allocations: 31.92 kB / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01143, allocations: 0 / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.01146, allocations: 11.98 kB / 387.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01147, allocations: 8 kB / 387.3 MB, free: 9.184 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.257e-05/0.01155, allocations: 160.6 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.0116, allocations: 47.66 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.01183, allocations: 184.2 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01184, allocations: 4 kB / 387.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01184, allocations: 0 / 387.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01184, allocations: 3.938 kB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.01238, allocations: 0.5634 MB / 388.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.01238, allocations: 8 kB / 388.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.01246, allocations: 35.92 kB / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.01246, allocations: 0 / 388.3 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01247, allocations: 4 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01248, allocations: 4 kB / 388.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01248, allocations: 0 / 388.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.01271, allocations: 315.3 kB / 388.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.01274, allocations: 27.77 kB / 388.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.01276, allocations: 8 kB / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.0128, allocations: 0 / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.01285, allocations: 23.97 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01286, allocations: 4 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004973/0.01335, allocations: 323 kB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01335, allocations: 0 / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01356, allocations: 51.89 kB / 389 MB, free: 7.363 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.00138/0.01494, allocations: 0.6599 MB / 389.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.01511, allocations: 99.48 kB / 389.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01511, allocations: 3.938 kB / 389.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.01517, allocations: 59.59 kB / 389.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.0155, allocations: 87.66 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.01619, allocations: 0.5807 MB / 390.5 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.01625, allocations: 116.3 kB / 390.6 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.01633, allocations: 41.91 kB / 390.7 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.01638, allocations: 36.5 kB / 390.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01638, allocations: 0 / 390.7 MB, free: 5.922 MB / 362.7 MB Notification: Performance of Templates: time 0.005713/0.02209, allocations: 3.341 MB / 394 MB, free: 2.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.3428065897896886]