Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0008123/0.0008123, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003354/0.003354, allocations: 160.3 kB / 24.7 MB, free: 9.43 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.9161/0.9161, allocations: 177.1 MB / 205 MB, free: 5.75 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.2752/0.2752, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.637e-05, allocations: 10.28 kB / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002007/0.002033, allocations: 1.65 MB / 442.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003196, allocations: 1.274 MB / 443.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.003255, allocations: 4 kB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.003456, allocations: 27.78 kB / 443.8 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.003747, allocations: 91.5 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.004065, allocations: 185.9 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.004197, allocations: 83.77 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.004296, allocations: 11.98 kB / 444.2 MB, free: 380 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.623e-05/0.004352, allocations: 39.91 kB / 444.2 MB, free: 340 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.004439, allocations: 27.89 kB / 444.3 MB, free: 312 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004455, allocations: 11.94 kB / 444.3 MB, free: 300 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.004582, allocations: 95.81 kB / 444.4 MB, free: 204 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.004639, allocations: 15.92 kB / 444.4 MB, free: 188 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.00467, allocations: 23.92 kB / 444.4 MB, free: 164 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.004867, allocations: 147.5 kB / 444.5 MB, free: 16 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004869, allocations: 3.938 kB / 444.5 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004869, allocations: 4 kB / 444.5 MB, free: 8 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.004873, allocations: 4 kB / 444.6 MB, free: 4 kB / 410.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.2133/0.2182, allocations: 330 kB / 444.9 MB, free: 46.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2182, allocations: 7.781 kB / 444.9 MB, free: 46.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.2183, allocations: 10.36 kB / 444.9 MB, free: 46.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2184, allocations: 141.8 kB / 445 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.2184, allocations: 1.875 kB / 445 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2184, allocations: 6.859 kB / 445 MB, free: 46.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.2186, allocations: 103.8 kB / 445.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2186, allocations: 192 / 445.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2186, allocations: 5.219 kB / 445.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2186, allocations: 0 / 445.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.2187, allocations: 48.36 kB / 445.2 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.219, allocations: 242.8 kB / 445.4 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/0.2191, allocations: 42.58 kB / 445.5 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.2191, allocations: 34.19 kB / 445.5 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2191, allocations: 0.5156 kB / 445.5 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2192, allocations: 41.88 kB / 445.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2192, allocations: 0 / 445.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000547/0.2197, allocations: 234.4 kB / 445.8 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2197, allocations: 81.23 kB / 445.9 MB, free: 46.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2198, allocations: 148.2 kB / 446 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2198, allocations: 26.39 kB / 446 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.2199, allocations: 94.53 kB / 446.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2199, allocations: 29.91 kB / 446.1 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.2199, allocations: 23.62 kB / 446.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.22, allocations: 320.8 kB / 446.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.22, allocations: 35.84 kB / 446.5 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.2201, allocations: 79.97 kB / 446.6 MB, free: 45.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2202, allocations: 90.19 kB / 446.7 MB, free: 45.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2202, allocations: 3.469 kB / 446.7 MB, free: 45.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001492/0.2203, allocations: 129.8 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2204, allocations: 5.906 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2204, allocations: 1.406 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2204, allocations: 0 / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.2205, allocations: 20.91 kB / 446.8 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2205, allocations: 12 kB / 446.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.2205, allocations: 13.03 kB / 446.9 MB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2205, allocations: 0.875 kB / 446.9 MB, free: 45.52 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 (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 5.117e-05/0.2206, allocations: 125.7 kB / 447 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.2206, allocations: 10.83 kB / 447 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.2208, allocations: 135.2 kB / 447.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2208, allocations: 1.625 kB / 447.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2208, allocations: 0 / 447.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2208, allocations: 3.234 kB / 447.1 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2211, allocations: 358 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2211, allocations: 3.5 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.2211, allocations: 21.33 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2211, allocations: 0 / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2211, allocations: 0 / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2211, allocations: 2.875 kB / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2211, allocations: 0 / 447.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.2213, allocations: 234.7 kB / 447.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.2213, allocations: 10.19 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2213, allocations: 0 / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.385e-05/0.2213, allocations: 12.66 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.2214, allocations: 6.281 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.2214, allocations: 2.625 kB / 447.8 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.2214, allocations: 114.2 kB / 447.9 MB, free: 44.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2214, allocations: 0 / 447.9 MB, free: 44.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.2216, allocations: 45.69 kB / 447.9 MB, free: 44.8 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 (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.0008312/0.2225, allocations: 0.5302 MB / 448.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2226, allocations: 83.81 kB / 448.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2226, allocations: 0 / 448.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.2227, allocations: 44.97 kB / 448.6 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.223, allocations: 23.86 kB / 448.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.2234, allocations: 248.8 kB / 448.9 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.2234, allocations: 87.38 kB / 448.9 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.2235, allocations: 20.53 kB / 449 MB, free: 44.33 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2235, allocations: 3.828 kB / 449 MB, free: 44.33 MB / 410.7 MB Notification: Performance of Templates: time 0.002867/0.2263, allocations: 2.228 MB / 451.2 MB, free: 44.08 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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: 5.0975952092558146]