Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.002019/0.002019, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.002681/0.002681, allocations: 164.9 kB / 23.96 MB, free: 4.164 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.545/1.545, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2182/0.2182, allocations: 34.27 MB / 295 MB, free: 14.57 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.Test89,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.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,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.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.109e-05, allocations: 2.281 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003731/0.003762, allocations: 1.723 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.007016, allocations: 1.668 MB / 446.2 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.007098, allocations: 4 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.007369, allocations: 31.72 kB / 446.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.007725, allocations: 103.5 kB / 446.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.007929, allocations: 79.59 kB / 446.4 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.008135, allocations: 111.7 kB / 446.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.008238, allocations: 4 kB / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.008369, allocations: 67.77 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.008515, allocations: 35.89 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.008542, allocations: 4 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.008749, allocations: 103.8 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.188e-05/0.008821, allocations: 23.86 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.941e-05/0.008881, allocations: 19.92 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.009319, allocations: 175.4 kB / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.009324, allocations: 0 / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009325, allocations: 0 / 446.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.00933, allocations: 4 kB / 446.9 MB, free: 1.145 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.0007272/0.01006, allocations: 355.8 kB / 447.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.01011, allocations: 12.03 kB / 447.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.01017, allocations: 8.891 kB / 447.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.01046, allocations: 150.1 kB / 447.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.01048, allocations: 4.375 kB / 447.4 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.01051, allocations: 12.27 kB / 447.4 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.01076, allocations: 101 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.01078, allocations: 4 kB / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.01079, allocations: 0 / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.0108, allocations: 0 / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.01089, allocations: 27.97 kB / 447.6 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.01135, allocations: 228.5 kB / 447.8 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.01157, allocations: 62.61 kB / 447.9 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.01163, allocations: 20.84 kB / 447.9 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01166, allocations: 0 / 447.9 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1997/0.2114, allocations: 66.27 kB / 447.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.398e-06/0.2114, allocations: 0 / 447.9 MB, free: 19.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008695/0.2122, allocations: 173.2 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2123, allocations: 89.08 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.2125, allocations: 168.8 kB / 448.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2125, allocations: 28.8 kB / 448.4 MB, free: 19.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2126, allocations: 103.8 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.2126, allocations: 27.17 kB / 448.5 MB, free: 19.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.2127, allocations: 21.61 kB / 448.5 MB, free: 19.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.2128, allocations: 323.1 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.2128, allocations: 24.73 kB / 448.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.2129, allocations: 67.83 kB / 448.9 MB, free: 18.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2131, allocations: 63.83 kB / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2131, allocations: 3.75 kB / 449 MB, free: 18.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002355/0.2133, allocations: 102.1 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.2133, allocations: 8.125 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2134, allocations: 6.844 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.2134, allocations: 1.656 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2135, allocations: 15.45 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2135, allocations: 0 / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.2136, allocations: 4.406 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2136, allocations: 2.156 kB / 449.1 MB, free: 18.6 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 9.645e-05/0.2137, allocations: 137.5 kB / 449.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2137, allocations: 12.81 kB / 449.3 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.214, allocations: 120.1 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.214, allocations: 1.094 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.214, allocations: 1.062 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.214, allocations: 0.75 kB / 449.4 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.2146, allocations: 351.5 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2146, allocations: 5.406 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.2146, allocations: 10.52 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2146, allocations: 3.562 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.2146, allocations: 1.781 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2146, allocations: 0.9688 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2146, allocations: 2.484 kB / 449.8 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2149, allocations: 212.2 kB / 450 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.2149, allocations: 17.02 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.215, allocations: 3.375 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.215, allocations: 3.047 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.2151, allocations: 14.11 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.2151, allocations: 9.156 kB / 450 MB, free: 17.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.2153, allocations: 137.9 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2153, allocations: 0 / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.2156, allocations: 46.97 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.00229/0.2179, allocations: 0.593 MB / 450.8 MB, free: 17.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.2182, allocations: 61.2 kB / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2182, allocations: 0 / 450.9 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.2182, allocations: 30.38 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.0003929/0.2186, allocations: 35.42 kB / 450.9 MB, free: 17.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.2191, allocations: 209.4 kB / 451.1 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.447e-05/0.2192, allocations: 83.98 kB / 451.2 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.2193, allocations: 19.16 kB / 451.2 MB, free: 17.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.2193, allocations: 21.55 kB / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2193, allocations: 0 / 451.3 MB, free: 17.41 MB / 366.1 MB Notification: Performance of Templates: time 0.007426/0.2268, allocations: 2.5 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.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.076049886643887]