Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001988/0.001988, allocations: 85.91 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.002435/0.002435, allocations: 164.8 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.5/1.5, allocations: 177.2 MB / 204.3 MB, free: 9.168 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.2148/0.2148, allocations: 34.27 MB / 294.9 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.215e-05, allocations: 2.281 kB / 442.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00381/0.003842, allocations: 1.739 MB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.006037, allocations: 0.9742 MB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.006165, allocations: 0 / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.006616, allocations: 107.6 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.007093, allocations: 139.4 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.007381, allocations: 79.61 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.007649, allocations: 127.7 kB / 445.9 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.00776, allocations: 15.92 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.007921, allocations: 67.81 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.008057, allocations: 71.84 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.008084, allocations: 8 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.008228, allocations: 59.91 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.008298, allocations: 31.86 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.008365, allocations: 35.84 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.008659, allocations: 147.5 kB / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.008662, allocations: 0 / 446.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008663, allocations: 4 kB / 446.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.008675, allocations: 7.875 kB / 446.4 MB, free: 1.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006745/0.009349, allocations: 381.2 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.009391, allocations: 12.03 kB / 446.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.009456, allocations: 16.84 kB / 446.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.00976, allocations: 162.4 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.009772, allocations: 8.375 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.009806, allocations: 4.375 kB / 446.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.01, allocations: 74.16 kB / 447 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.01002, allocations: 3.938 kB / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.01004, allocations: 0 / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.01004, allocations: 0 / 447 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.01017, allocations: 35.97 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.01068, allocations: 268.4 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.01101, allocations: 78.48 kB / 447.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.01109, allocations: 28.84 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.01111, allocations: 0 / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.01132, allocations: 83.36 kB / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.01132, allocations: 96 / 447.5 MB, free: 440 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009414/0.01226, allocations: 293.7 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.01231, allocations: 55.41 kB / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1968/0.2091, allocations: 261.5 kB / 448.1 MB, free: 19.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2091, allocations: 31.27 kB / 448.1 MB, free: 19.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2092, allocations: 112.3 kB / 448.2 MB, free: 19.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.2092, allocations: 35.77 kB / 448.3 MB, free: 19.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.2093, allocations: 32.69 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.2093, allocations: 329.1 kB / 448.6 MB, free: 18.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2094, allocations: 37.88 kB / 448.7 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2095, allocations: 55.25 kB / 448.7 MB, free: 18.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2097, allocations: 89.56 kB / 448.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2097, allocations: 0 / 448.8 MB, free: 18.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00028/0.21, allocations: 152.9 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.21, allocations: 6.562 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.21, allocations: 3.125 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.21, allocations: 5.766 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2102, allocations: 22.41 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.2102, allocations: 3.812 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.358e-05/0.2103, allocations: 9.109 kB / 449 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2103, allocations: 4.703 kB / 449 MB, free: 18.89 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 (14): * Single equations (assignments): 14 * 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.0001083/0.2104, allocations: 143 kB / 449.1 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.2104, allocations: 20 kB / 449.2 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.2108, allocations: 175.5 kB / 449.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2108, allocations: 9.438 kB / 449.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2108, allocations: 1.031 kB / 449.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2108, allocations: 1.547 kB / 449.3 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.2114, allocations: 437.3 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2114, allocations: 1.344 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.2114, allocations: 17.94 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2115, allocations: 1.281 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2115, allocations: 7.891 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2115, allocations: 1.125 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2115, allocations: 1.969 kB / 449.8 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2118, allocations: 268 kB / 450.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.2118, allocations: 15.11 kB / 450.1 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2118, allocations: 7.172 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.2119, allocations: 1.953 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.212, allocations: 14.66 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.212, allocations: 6.234 kB / 450.1 MB, free: 18.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.2121, allocations: 200.2 kB / 450.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2121, allocations: 5.25 kB / 450.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002932/0.2124, allocations: 33.94 kB / 450.3 MB, free: 18.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002079/0.2145, allocations: 0.5627 MB / 450.9 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2148, allocations: 94.98 kB / 451 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2148, allocations: 1.219 kB / 451 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2149, allocations: 45.39 kB / 451 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2153, allocations: 38.34 kB / 451.1 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.2159, allocations: 326.3 kB / 451.4 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.216, allocations: 112.6 kB / 451.5 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.216, allocations: 24.42 kB / 451.5 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.2161, allocations: 28.5 kB / 451.6 MB, free: 17.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2161, allocations: 0 / 451.6 MB, free: 17.48 MB / 366.1 MB Notification: Performance of Templates: time 0.006449/0.2225, allocations: 2.233 MB / 453.8 MB, free: 17.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.015404649078846]