Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001025/0.001025, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001017/0.001017, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.262/0.262, allocations: 32.8 MB / 294.6 MB, free: 1.242 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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.695e-05, allocations: 4.703 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002276/0.002293, allocations: 1.75 MB / 325 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.003084, allocations: 0.5613 MB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.003126, allocations: 0 / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.003339, allocations: 71.7 kB / 325.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.003551, allocations: 103.5 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.003755, allocations: 135.6 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.003875, allocations: 91.75 kB / 326 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.003949, allocations: 16.2 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.004013, allocations: 43.89 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.004091, allocations: 47.88 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.004103, allocations: 4 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.004177, allocations: 55.91 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.004234, allocations: 35.78 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.004253, allocations: 15.94 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004392, allocations: 95.66 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004393, allocations: 4 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004394, allocations: 0 / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.004396, allocations: 0 / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002816/0.004678, allocations: 321.4 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.004707, allocations: 12.03 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.004734, allocations: 8.922 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.005113, allocations: 151.3 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.005123, allocations: 8.375 kB / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.005139, allocations: 384 / 326.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.005232, allocations: 62.94 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.005241, allocations: 4.188 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.00525, allocations: 8.125 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005255, allocations: 0 / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.005282, allocations: 15.92 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.005491, allocations: 176.2 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.005613, allocations: 42.58 kB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.005628, allocations: 8.859 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.005641, allocations: 0 / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.005662, allocations: 42.62 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.005663, allocations: 4 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004512/0.006114, allocations: 189.8 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.006143, allocations: 55.34 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.006257, allocations: 184.8 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.00627, allocations: 29.7 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.00631, allocations: 96.83 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.006344, allocations: 39.67 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.006378, allocations: 33.64 kB / 327.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.006459, allocations: 326.7 kB / 328.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.006475, allocations: 8.188 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.006494, allocations: 19.72 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.006535, allocations: 32.83 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.006536, allocations: 0 / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.933e-05/0.006616, allocations: 65.67 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006626, allocations: 7.938 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.006631, allocations: 3.938 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006642, allocations: 0 / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.006707, allocations: 31.97 kB / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.00671, allocations: 0 / 328.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.006736, allocations: 11.94 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.006744, allocations: 4 kB / 328.3 MB, free: 4.465 MB / 298.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 (11): * Single equations (assignments): 11 * 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 6.031e-05/0.006804, allocations: 116.6 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.006825, allocations: 11.98 kB / 328.4 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.006942, allocations: 83.06 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006945, allocations: 4 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006947, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006951, allocations: 7.984 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.007206, allocations: 280.3 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007208, allocations: 3.938 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.007263, allocations: 23.98 kB / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.007266, allocations: 0 / 328.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.007273, allocations: 4 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007275, allocations: 4 kB / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007276, allocations: 0 / 328.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.007382, allocations: 185.1 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.007392, allocations: 16.02 kB / 329 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007404, allocations: 4 kB / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.007442, allocations: 4 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.007482, allocations: 19.91 kB / 329 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.007488, allocations: 3.984 kB / 329 MB, free: 3.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.731e-05/0.007535, allocations: 51.66 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007535, allocations: 0 / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.007683, allocations: 31.92 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001203/0.008886, allocations: 0.5711 MB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.008974, allocations: 56.72 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.008977, allocations: 0 / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.009007, allocations: 36.7 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009176, allocations: 28.11 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.009501, allocations: 264 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.009544, allocations: 75.33 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.009581, allocations: 12.5 kB / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.009639, allocations: 67.36 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00964, allocations: 0 / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of Templates: time 0.003029/0.01267, allocations: 1.683 MB / 331.9 MB, free: 1.027 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.9364993637427688]