Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0008162/0.0008162, 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.0009211/0.0009211, allocations: 170 kB / 24.91 MB, free: 9.188 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 0.9644/0.9644, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2769/0.2769, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.572e-05, allocations: 3.188 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.00229/0.002315, allocations: 1.697 MB / 324.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003611, allocations: 1.298 MB / 326.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.003675, allocations: 0 / 326.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.003917, allocations: 31.72 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.004313, allocations: 87.56 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.00468, allocations: 127.6 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.004824, allocations: 83.75 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.004907, allocations: 8 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.00498, allocations: 39.91 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.00508, allocations: 27.89 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.005095, allocations: 4 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.005258, allocations: 95.75 kB / 326.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.005316, allocations: 23.92 kB / 326.8 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.005337, allocations: 15.92 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.005541, allocations: 135.5 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005545, allocations: 4 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005546, allocations: 4 kB / 326.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.00555, allocations: 0 / 326.9 MB, free: 5.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003445/0.005895, allocations: 309.4 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.005928, allocations: 8.031 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.005965, allocations: 8.922 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.006095, allocations: 125.7 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.006104, allocations: 384 / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.006131, allocations: 8.375 kB / 327.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006263, allocations: 106.3 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006273, allocations: 4.141 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.006282, allocations: 12.12 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006287, allocations: 4 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.00631, allocations: 11.97 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.006528, allocations: 172.2 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.006589, allocations: 26.52 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.006605, allocations: 8.859 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.006625, allocations: 4 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.006646, allocations: 42.58 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006647, allocations: 0 / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.00041/0.007057, allocations: 105.6 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.007102, allocations: 77.11 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.007201, allocations: 138.7 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.007212, allocations: 25.7 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.007252, allocations: 92.06 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.007278, allocations: 27.8 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.00731, allocations: 13.72 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.007402, allocations: 322.8 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.007419, allocations: 8 kB / 328.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.007459, allocations: 55.33 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.007499, allocations: 28.88 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.0075, allocations: 0 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.544e-05/0.007586, allocations: 57.59 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.007601, allocations: 8 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.007609, allocations: 0 / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.007621, allocations: 0 / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.007706, allocations: 15.98 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.00771, allocations: 3.938 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.007739, allocations: 4 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.007748, allocations: 7.938 kB / 328.7 MB, free: 3.984 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 (7): * Single equations (assignments): 7 * 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.934e-05/0.007818, allocations: 116.7 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.007842, allocations: 11.92 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.007972, allocations: 70.7 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007974, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.007976, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.007979, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.008209, allocations: 234.7 kB / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008211, allocations: 0 / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.008255, allocations: 15.98 kB / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008258, allocations: 0 / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.008265, allocations: 12 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008267, allocations: 0 / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008268, allocations: 0 / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.008368, allocations: 159.4 kB / 329.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.008382, allocations: 11.95 kB / 329.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.008393, allocations: 0 / 329.3 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.72e-05/0.00843, allocations: 11.98 kB / 329.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.008456, allocations: 0 / 329.3 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.00846, allocations: 4 kB / 329.3 MB, free: 3.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.008491, allocations: 27.17 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008491, allocations: 8 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000179/0.00867, allocations: 35.88 kB / 329.4 MB, free: 3.223 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001276/0.009946, allocations: 0.6271 MB / 330 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.711e-05/0.01004, allocations: 32.77 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.01005, allocations: 4 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.01007, allocations: 20.84 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.01023, allocations: 27.86 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.01056, allocations: 190.5 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.0106, allocations: 67.28 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.52e-05/0.01065, allocations: 12 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.01071, allocations: 75.34 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01071, allocations: 0 / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of Templates: time 0.003751/0.01446, allocations: 2.128 MB / 332.6 MB, free: 336 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.0101754758507013]