Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.0008276/0.0008276, 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.004176/0.004176, allocations: 160.2 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.8638/0.8638, allocations: 177.1 MB / 205 MB, free: 5.73 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.2394/0.2394, allocations: 32.8 MB / 294.2 MB, free: 1.207 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.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.04e-05, allocations: 4.812 kB / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001977/0.001998, allocations: 1.72 MB / 442.7 MB, free: 1.945 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003066, allocations: 0.9703 MB / 443.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.003131, allocations: 3.938 kB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.003404, allocations: 43.75 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.003645, allocations: 99.47 kB / 443.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.003778, allocations: 75.62 kB / 443.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.00392, allocations: 111.6 kB / 444 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.004008, allocations: 8 kB / 444 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.004079, allocations: 55.83 kB / 444 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.004145, allocations: 27.91 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.00416, allocations: 4 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.004233, allocations: 43.92 kB / 444.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.00429, allocations: 27.84 kB / 444.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.004324, allocations: 19.92 kB / 444.1 MB, free: 464 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004488, allocations: 123.5 kB / 444.3 MB, free: 340 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00449, allocations: 0 / 444.3 MB, free: 340 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004492, allocations: 0 / 444.3 MB, free: 340 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004496, allocations: 0 / 444.3 MB, free: 340 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.1548/0.1593, allocations: 339.8 kB / 444.6 MB, free: 44.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1593, allocations: 8.812 kB / 444.6 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.1593, allocations: 10.23 kB / 444.6 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1596, allocations: 153.3 kB / 444.8 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1596, allocations: 5.281 kB / 444.8 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1596, allocations: 2.938 kB / 444.8 MB, free: 44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1597, allocations: 55.8 kB / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1597, allocations: 0 / 444.8 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1597, allocations: 7.172 kB / 444.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1597, allocations: 3.625 kB / 444.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.959e-05/0.1598, allocations: 17.28 kB / 444.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.16, allocations: 239.1 kB / 445.1 MB, free: 43.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1601, allocations: 55.41 kB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.1601, allocations: 20.45 kB / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1602, allocations: 0 / 445.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.1603, allocations: 78.36 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1603, allocations: 0.5625 kB / 445.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003767/0.1606, allocations: 183.3 kB / 445.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.1607, allocations: 56.25 kB / 445.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.1608, allocations: 199.2 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.1608, allocations: 25.7 kB / 445.7 MB, free: 43.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.1608, allocations: 104.4 kB / 445.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1608, allocations: 25.28 kB / 445.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1608, allocations: 28.81 kB / 445.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.1609, allocations: 325.5 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.147e-05/0.1609, allocations: 18.84 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.1609, allocations: 42.73 kB / 446.2 MB, free: 43.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.149e-05/0.161, allocations: 60.89 kB / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.161, allocations: 2.812 kB / 446.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.558e-05/0.1611, allocations: 116.8 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1611, allocations: 5.594 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1611, allocations: 0 / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1611, allocations: 3.469 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.1612, allocations: 16.69 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1612, allocations: 2.719 kB / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.1612, allocations: 0 / 446.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1612, allocations: 6.016 kB / 446.4 MB, free: 42.95 MB / 410.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 4.876e-05/0.1613, allocations: 131.1 kB / 446.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1613, allocations: 19.34 kB / 446.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.1614, allocations: 123 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1614, allocations: 2.656 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1614, allocations: 0 / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1614, allocations: 3.047 kB / 446.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.1616, allocations: 348.2 kB / 447 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1616, allocations: 5.625 kB / 447 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.1616, allocations: 7.844 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1616, allocations: 2.531 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1617, allocations: 3.562 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1617, allocations: 6.078 kB / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1617, allocations: 0 / 447.1 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.797e-05/0.1618, allocations: 219 kB / 447.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.1618, allocations: 14.17 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1618, allocations: 3 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-05/0.1618, allocations: 2 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.1618, allocations: 14.36 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1619, allocations: 6.375 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.1619, allocations: 152.9 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1619, allocations: 3.75 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.1621, allocations: 26.17 kB / 447.5 MB, free: 42.32 MB / 410.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.0006851/0.1628, allocations: 497.7 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1629, allocations: 64.38 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1629, allocations: 0 / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.736e-05/0.1629, allocations: 30.7 kB / 448.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1632, allocations: 28.25 kB / 448.1 MB, free: 42.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1634, allocations: 261.5 kB / 448.4 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.523e-05/0.1635, allocations: 96.84 kB / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.1635, allocations: 16.78 kB / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.1635, allocations: 0 / 448.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of Templates: time 0.002167/0.1657, allocations: 2.017 MB / 450.5 MB, free: 41.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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: 4.959763398393989]