Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001346/0.001346, allocations: 82.67 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002117/0.002117, allocations: 171.9 kB / 23.96 MB, free: 4.148 MB / 14.72 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.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2196/0.2196, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.241e-05, allocations: 5.516 kB / 442.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003207/0.003239, allocations: 1.716 MB / 444.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.00589, allocations: 1.656 MB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.841e-05/0.005969, allocations: 11.88 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.006256, allocations: 35.77 kB / 446.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.006629, allocations: 103.5 kB / 446.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.006832, allocations: 79.66 kB / 446.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.007044, allocations: 119.5 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.007139, allocations: 4 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007254, allocations: 55.78 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.007379, allocations: 35.89 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.007403, allocations: 4 kB / 446.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.007604, allocations: 111.8 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.007663, allocations: 11.94 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.007717, allocations: 31.84 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.008025, allocations: 175.4 kB / 446.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.008028, allocations: 4 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008029, allocations: 0 / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.008033, allocations: 4 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006211/0.008654, allocations: 357.4 kB / 447.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.00869, allocations: 8.031 kB / 447.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.008741, allocations: 8.891 kB / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.009022, allocations: 154.1 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.00904, allocations: 4.359 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.009069, allocations: 8.328 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.009277, allocations: 97.03 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.00929, allocations: 0 / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.009304, allocations: 8 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.009308, allocations: 0 / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.009407, allocations: 23.92 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.009801, allocations: 228.5 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.009995, allocations: 54.67 kB / 447.8 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.01006, allocations: 20.84 kB / 447.9 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.01008, allocations: 4 kB / 447.9 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2101/0.2202, allocations: 67.09 kB / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.178e-06/0.2202, allocations: 0 / 447.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006942/0.2209, allocations: 178.2 kB / 448.1 MB, free: 19.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.2209, allocations: 79.77 kB / 448.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2211, allocations: 167.3 kB / 448.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2211, allocations: 29.55 kB / 448.4 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2211, allocations: 102 kB / 448.5 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.2212, allocations: 22.89 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2212, allocations: 26.73 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.2213, allocations: 322 kB / 448.8 MB, free: 18.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.2213, allocations: 20.8 kB / 448.9 MB, free: 18.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.2214, allocations: 74.78 kB / 448.9 MB, free: 18.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.2215, allocations: 61.12 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2215, allocations: 3.75 kB / 449 MB, free: 18.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.2217, allocations: 106.8 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2217, allocations: 4.562 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2217, allocations: 3.031 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2218, allocations: 1.922 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2219, allocations: 19.78 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2219, allocations: 1.062 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.2219, allocations: 7.203 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2219, allocations: 3 kB / 449.1 MB, free: 18.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.877e-05/0.222, allocations: 128.5 kB / 449.3 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.222, allocations: 17.25 kB / 449.3 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.2223, allocations: 116.4 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2223, allocations: 1.844 kB / 449.4 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2223, allocations: 3.938 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2223, allocations: 2.047 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.2228, allocations: 347.9 kB / 449.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2228, allocations: 5.219 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.2228, allocations: 10.28 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.2228, allocations: 6.156 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2228, allocations: 6.781 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2228, allocations: 0.5156 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2228, allocations: 1.031 kB / 449.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.223, allocations: 214 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.2231, allocations: 13.47 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.2231, allocations: 2.344 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.157e-05/0.2232, allocations: 9.047 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.2232, allocations: 12.08 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2232, allocations: 4.734 kB / 450 MB, free: 17.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.88e-05/0.2233, allocations: 138.4 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2233, allocations: 384 / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2237, allocations: 50.17 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002191/0.2259, allocations: 0.5929 MB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2261, allocations: 61.58 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2261, allocations: 1.188 kB / 450.9 MB, free: 17.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.2262, allocations: 29.47 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2265, allocations: 30.81 kB / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.227, allocations: 204.8 kB / 451.1 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.764e-05/0.2271, allocations: 87.91 kB / 451.2 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.2272, allocations: 18.17 kB / 451.2 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.2272, allocations: 30.11 kB / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2272, allocations: 1.75 kB / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006884/0.2341, allocations: 2.506 MB / 453.8 MB, free: 17.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.006490051746368]