Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009327/0.0009327, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001472/0.001472, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9124/0.9124, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.1365/0.1365, allocations: 34.26 MB / 296.8 MB, free: 13.91 MB / 282.7 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.318e-05, allocations: 3.188 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.001874/0.001888, allocations: 1.743 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.00285, allocations: 0.9936 MB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.002921, allocations: 3.938 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.003198, allocations: 43.77 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.003442, allocations: 103.5 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.003586, allocations: 79.61 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.003706, allocations: 111.6 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.00378, allocations: 8 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.003844, allocations: 59.77 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.003902, allocations: 23.91 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.003915, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.003978, allocations: 47.92 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.004017, allocations: 23.92 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.004048, allocations: 31.84 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.004178, allocations: 107.6 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004179, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 5e-07/0.00418, allocations: 0 / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004184, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 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.0003335/0.004517, allocations: 459.7 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.004553, allocations: 15.97 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.004588, allocations: 12.84 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004713, allocations: 161.2 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.004731, allocations: 4.375 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.004749, allocations: 4.375 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.004855, allocations: 58.94 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.004867, allocations: 7.875 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.004876, allocations: 3.984 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004881, allocations: 8 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.004907, allocations: 7.984 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.005138, allocations: 256.4 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.005225, allocations: 47.17 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.00525, allocations: 19.61 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005263, allocations: 4 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.744e-05/0.005351, allocations: 72.97 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.005352, allocations: 0 / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002782/0.00563, allocations: 137.5 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.005648, allocations: 51.41 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.005738, allocations: 260.9 kB / 384.3 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005746, allocations: 25.7 kB / 384.3 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.005781, allocations: 166.8 kB / 384.5 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.005802, allocations: 15.86 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.005827, allocations: 27.36 kB / 384.5 MB, free: 17.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.005868, allocations: 0.5079 MB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.00588, allocations: 8 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.0059, allocations: 31.3 kB / 385.1 MB, free: 17.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.005936, allocations: 55.41 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005937, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.098e-05/0.006008, allocations: 89.47 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.00602, allocations: 8 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006024, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.006031, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.423e-05/0.006086, allocations: 12.38 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.00609, allocations: 7.984 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.006116, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.006127, allocations: 11.94 kB / 385.3 MB, free: 17.17 MB / 314.7 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 5.313e-05/0.006181, allocations: 163.5 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.006195, allocations: 19.84 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.006305, allocations: 103.1 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006306, allocations: 3.938 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.006308, allocations: 0 / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006312, allocations: 0 / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.006506, allocations: 373.5 kB / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.006507, allocations: 0 / 385.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.006529, allocations: 12 kB / 385.9 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.00653, allocations: 4.031 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.006536, allocations: 0 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.006538, allocations: 7.984 kB / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.006539, allocations: 0 / 385.9 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.077e-05/0.00663, allocations: 259.7 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.00664, allocations: 7.953 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.006654, allocations: 4 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.00669, allocations: 0 / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.006714, allocations: 11.98 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.006724, allocations: 4 kB / 386.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.006768, allocations: 175.1 kB / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006768, allocations: 0 / 386.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.006932, allocations: 24 kB / 386.4 MB, free: 15.95 MB / 314.7 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.0008203/0.007752, allocations: 444.8 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.007832, allocations: 51.59 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007833, allocations: 0 / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.007863, allocations: 31.61 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.008102, allocations: 41.56 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.00836, allocations: 245.4 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.567e-05/0.008386, allocations: 75.27 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.008417, allocations: 12.97 kB / 387.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.00847, allocations: 94.19 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of SimCode: time 4.5e-07/0.008471, allocations: 3.938 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of Templates: time 0.003187/0.01166, allocations: 2.056 MB / 389.5 MB, free: 13.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.161261380184442]