Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.19 MB / 336.6 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 65.31 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1456, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003722/0.1493, allocations: 1.7 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.1518, allocations: 1.491 MB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.942e-05/0.1519, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.1523, allocations: 31.83 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1526, allocations: 63.7 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1528, allocations: 107.6 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.153, allocations: 95.69 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1531, allocations: 12.23 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1532, allocations: 35.8 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1534, allocations: 43.2 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1534, allocations: 4 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1535, allocations: 67.91 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.1536, allocations: 19.92 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.1536, allocations: 31.8 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1539, allocations: 123.8 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1539, allocations: 0 / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.154, allocations: 4 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.154, allocations: 0 / 473.1 MB, free: 10.54 MB / 350.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.0005201/0.1545, allocations: 395.2 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1545, allocations: 12.03 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.1546, allocations: 8.844 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1548, allocations: 216 kB / 473.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1549, allocations: 4.375 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1549, allocations: 4.125 kB / 473.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1551, allocations: 67.39 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1551, allocations: 3.984 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1551, allocations: 0 / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1551, allocations: 0 / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.187e-05/0.1552, allocations: 23.98 kB / 473.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1557, allocations: 284.8 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1558, allocations: 54.67 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1559, allocations: 28.78 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1559, allocations: 0 / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1562, allocations: 71.33 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1562, allocations: 0 / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.1567, allocations: 165.3 kB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.1568, allocations: 89.03 kB / 474.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1569, allocations: 148.7 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.157, allocations: 29.7 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1571, allocations: 100.1 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1571, allocations: 23.7 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1572, allocations: 25.7 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1573, allocations: 326.8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.1574, allocations: 20 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1574, allocations: 38.56 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1576, allocations: 69.73 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1576, allocations: 0 / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1578, allocations: 97.58 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1578, allocations: 6.656 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1578, allocations: 4.375 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1578, allocations: 192 / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.158, allocations: 15.94 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.158, allocations: 3.938 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.158, allocations: 19.86 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.158, allocations: 4.031 kB / 475.4 MB, free: 7.977 MB / 350.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.175e-05/0.1581, allocations: 121.8 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1582, allocations: 7.906 kB / 475.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1582, allocations: 16.7 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1582, allocations: 4 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1582, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1582, allocations: 3.938 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1587, allocations: 391.3 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1587, allocations: 0 / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.1587, allocations: 8 kB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1587, allocations: 0 / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1588, allocations: 11.92 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1588, allocations: 3.938 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1588, allocations: 3.938 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.159, allocations: 200.3 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1591, allocations: 81.02 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1591, allocations: 7.938 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.1592, allocations: 7.984 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1592, allocations: 4 kB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1592, allocations: 4 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.736e-05/0.1593, allocations: 115.2 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1594, allocations: 4 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1596, allocations: 31.98 kB / 476.4 MB, free: 6.859 MB / 350.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 (8): * Single equations (assignments): 6 * 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.001219/0.1609, allocations: 0.5031 MB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1611, allocations: 63.91 kB / 477 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1611, allocations: 0 / 477 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-05/0.1612, allocations: 27.98 kB / 477 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1615, allocations: 26.48 kB / 477 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.162, allocations: 206.8 kB / 477.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1623, allocations: 0.6934 MB / 477.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.411e-05/0.1624, allocations: 17.19 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1625, allocations: 23.42 kB / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1625, allocations: 0 / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Templates: time 0.004698/0.1672, allocations: 1.961 MB / 479.9 MB, free: 3.5 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches