Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001177/0.001177, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005751/0.005751, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.9482/0.9482, allocations: 177.1 MB / 205 MB, free: 5.719 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.2494/0.2494, allocations: 32.79 MB / 294.2 MB, free: 1.195 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.01e-07/8.01e-07, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.501e-05, allocations: 4.391 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001754/0.001769, allocations: 1.615 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.002394, allocations: 0.5491 MB / 443 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.002425, allocations: 4 kB / 443 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.002755, allocations: 451 kB / 443.5 MB, free: 1.098 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.003009, allocations: 295.2 kB / 443.8 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.003226, allocations: 176.8 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.003415, allocations: 175.7 kB / 444.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.003482, allocations: 7.984 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.378e-05/0.003575, allocations: 119.7 kB / 444.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.003756, allocations: 247.6 kB / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.003766, allocations: 0 / 444.5 MB, free: 104 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.003811, allocations: 27.97 kB / 444.5 MB, free: 76 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2179/0.2217, allocations: 83.66 kB / 444.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.948e-05/0.2218, allocations: 41.06 kB / 444.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.2222, allocations: 231.5 kB / 444.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2222, allocations: 3.469 kB / 444.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2222, allocations: 0 / 444.8 MB, free: 44.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2222, allocations: 2.969 kB / 444.9 MB, free: 44.58 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005055/0.2227, allocations: 0.5779 MB / 445.4 MB, free: 44.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2228, allocations: 8.625 kB / 445.4 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2228, allocations: 42.81 kB / 445.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.223, allocations: 240.8 kB / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.223, allocations: 4.281 kB / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.223, allocations: 384 / 445.7 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2231, allocations: 65.8 kB / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2231, allocations: 192 / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.2231, allocations: 384 / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2232, allocations: 3.938 kB / 445.8 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.2232, allocations: 40.44 kB / 445.8 MB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.2236, allocations: 337.2 kB / 446.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.2237, allocations: 41.19 kB / 446.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.2237, allocations: 30.33 kB / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2238, allocations: 0 / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2238, allocations: 42.75 kB / 446.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.2238, allocations: 0.8438 kB / 446.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002628/0.2241, allocations: 133.5 kB / 446.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2241, allocations: 54.12 kB / 446.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/0.2248, allocations: 0.8639 MB / 447.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.2248, allocations: 25.7 kB / 447.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2249, allocations: 213.7 kB / 447.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2249, allocations: 10.78 kB / 447.6 MB, free: 43.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.225, allocations: 19.61 kB / 447.6 MB, free: 43.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.2251, allocations: 357.3 kB / 447.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.2251, allocations: 16.94 kB / 447.9 MB, free: 42.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.2252, allocations: 24.23 kB / 448 MB, free: 42.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.926e-05/0.2253, allocations: 44.86 kB / 448 MB, free: 42.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2253, allocations: 0 / 448 MB, free: 42.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.2254, allocations: 114 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2254, allocations: 5.312 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2254, allocations: 4.375 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2254, allocations: 2.719 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.2255, allocations: 8.578 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2255, allocations: 5.25 kB / 448.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.2255, allocations: 8.453 kB / 448.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.2255, allocations: 0 / 448.2 MB, free: 42.84 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0001126/0.2256, allocations: 213.8 kB / 448.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2256, allocations: 45.25 kB / 448.4 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2258, allocations: 125.1 kB / 448.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2258, allocations: 0 / 448.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2258, allocations: 6.344 kB / 448.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2258, allocations: 3.234 kB / 448.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.226, allocations: 233.1 kB / 448.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.226, allocations: 3.469 kB / 448.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.226, allocations: 8.344 kB / 448.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.226, allocations: 3.938 kB / 448.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.226, allocations: 3.938 kB / 448.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.226, allocations: 8.906 kB / 448.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.226, allocations: 0 / 448.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.2261, allocations: 207.1 kB / 449 MB, free: 42.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.2261, allocations: 32.34 kB / 449 MB, free: 42.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2261, allocations: 10.41 kB / 449 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.2262, allocations: 5.688 kB / 449 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.2262, allocations: 3.969 kB / 449.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2262, allocations: 7.422 kB / 449.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003255/0.2265, allocations: 0.6548 MB / 449.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2265, allocations: 0 / 449.7 MB, free: 42.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.2267, allocations: 20.95 kB / 449.7 MB, free: 42.23 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0005697/0.2272, allocations: 368.1 kB / 450.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.2273, allocations: 41.09 kB / 450.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2273, allocations: 0 / 450.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.2274, allocations: 28.7 kB / 450.2 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2276, allocations: 26.69 kB / 450.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.2283, allocations: 0.8346 MB / 451 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2284, allocations: 216.2 kB / 451.2 MB, free: 41.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.2285, allocations: 22.09 kB / 451.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2285, allocations: 3.938 kB / 451.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of Templates: time 0.00364/0.2321, allocations: 3.725 MB / 455 MB, free: 40.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9111562157049775]