Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009822/0.0009822, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001055/0.001055, allocations: 169.8 kB / 24.91 MB, free: 8.777 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.9309/0.9309, allocations: 177.1 MB / 205.3 MB, free: 5.047 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.2882/0.2882, allocations: 32.79 MB / 294.6 MB, free: 1.203 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.13e-06, allocations: 4 kB / 323.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.331e-05, allocations: 3.75 kB / 323.3 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.00311/0.003143, allocations: 1.704 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.004092, allocations: 0.5529 MB / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.004144, allocations: 0 / 325.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.004391, allocations: 51.8 kB / 325.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.004701, allocations: 103.5 kB / 325.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.005006, allocations: 131.5 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005174, allocations: 91.69 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.005261, allocations: 12.84 kB / 325.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.005354, allocations: 51.88 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.005449, allocations: 39.89 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.005464, allocations: 4 kB / 326 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.005566, allocations: 51.91 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.005634, allocations: 23.92 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.005661, allocations: 15.94 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.005855, allocations: 99.53 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005858, allocations: 4 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005859, allocations: 0 / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005863, allocations: 0 / 326.2 MB, free: 6.746 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.0004116/0.006275, allocations: 317.4 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.006314, allocations: 8.031 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.006353, allocations: 16.92 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.006515, allocations: 138.3 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.006527, allocations: 4.312 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.00655, allocations: 8.375 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.006672, allocations: 58.94 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006682, allocations: 4.188 kB / 326.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.006692, allocations: 8.125 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.006698, allocations: 4 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.006729, allocations: 11.98 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.006968, allocations: 172.1 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.00711, allocations: 38.56 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.007133, allocations: 12.84 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.007148, allocations: 0 / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.007178, allocations: 46.52 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.007179, allocations: 4 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005879/0.007767, allocations: 202.2 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.0078, allocations: 51.41 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.007932, allocations: 170.2 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.007945, allocations: 25.7 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.007984, allocations: 96.06 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.008022, allocations: 43.61 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.008059, allocations: 25.72 kB / 327.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.008159, allocations: 330.7 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.00818, allocations: 8 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.486e-05/0.008205, allocations: 16.91 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.008261, allocations: 41.86 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.008262, allocations: 0 / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.421e-05/0.008356, allocations: 66.23 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.008367, allocations: 4 kB / 328.1 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008373, allocations: 4 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.008386, allocations: 0 / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.008466, allocations: 27.92 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.008469, allocations: 0 / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.008504, allocations: 8 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.008513, allocations: 4 kB / 328.1 MB, free: 4.656 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 7.205e-05/0.008585, allocations: 124.6 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.008617, allocations: 12 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.008769, allocations: 84.45 kB / 328.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.008773, allocations: 4 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008777, allocations: 3.984 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.00878, allocations: 4 kB / 328.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.009128, allocations: 280.2 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.009132, allocations: 4 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.009205, allocations: 27.91 kB / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.009207, allocations: 0 / 328.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.009216, allocations: 4 kB / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009219, allocations: 0 / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009221, allocations: 0 / 328.7 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.009363, allocations: 185.2 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.009376, allocations: 12.02 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.009391, allocations: 3.938 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.009459, allocations: 8 kB / 328.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.009492, allocations: 15.86 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.009501, allocations: 7.984 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.009555, allocations: 49.12 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009555, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.009808, allocations: 27.92 kB / 329 MB, free: 3.746 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.001724/0.01153, allocations: 0.5649 MB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.01164, allocations: 48.72 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.01165, allocations: 4 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.01169, allocations: 36.77 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01192, allocations: 35.86 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.01236, allocations: 259.3 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.327e-05/0.01242, allocations: 67.34 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.01247, allocations: 16.48 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.01255, allocations: 59.38 kB / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01255, allocations: 0 / 330 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003426/0.01597, allocations: 1.678 MB / 331.7 MB, free: 1.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.876254277769476]