Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001762/0.001763, allocations: 194 kB / 18.12 MB, free: 5.383 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.477/1.477, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.284/0.284, allocations: 44.18 MB / 336.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.81 kB / 407.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 60.82 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004118/0.1441, allocations: 1.965 MB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1459, allocations: 0.8965 MB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.146, allocations: 4 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1465, allocations: 43.77 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1467, allocations: 43.83 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.147, allocations: 119.7 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1472, allocations: 119.6 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1473, allocations: 29.48 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.1474, allocations: 55.7 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.1476, allocations: 51.66 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1476, allocations: 4 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1477, allocations: 43.98 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.1478, allocations: 19.91 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.1478, allocations: 47.67 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.148, allocations: 139.8 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1481, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1481, allocations: 7.938 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.1481, allocations: 7.938 kB / 472.1 MB, free: 11.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006684/0.1488, allocations: 468.6 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1488, allocations: 8.031 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.1489, allocations: 16.75 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1492, allocations: 224 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1492, allocations: 4.375 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1492, allocations: 20.06 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1495, allocations: 106.9 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1495, allocations: 0 / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1495, allocations: 0 / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1495, allocations: 4 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1497, allocations: 51.91 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.1504, allocations: 0.5087 MB / 473.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.1507, allocations: 94.61 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.302e-05/0.1508, allocations: 36.83 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1509, allocations: 7.984 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1511, allocations: 83.31 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1511, allocations: 0 / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004085/0.1516, allocations: 149.7 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1516, allocations: 55.44 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1518, allocations: 191.4 kB / 474.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1518, allocations: 29.64 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1519, allocations: 116 kB / 474.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1519, allocations: 27.61 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.152, allocations: 29.7 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1521, allocations: 326.8 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.1522, allocations: 31.98 kB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1523, allocations: 60.27 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.1525, allocations: 96.22 kB / 474.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1525, allocations: 4 kB / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000271/0.1528, allocations: 137.3 kB / 475 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1528, allocations: 4 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1529, allocations: 0 / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1529, allocations: 4.125 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.153, allocations: 27.92 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.153, allocations: 4 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.867e-05/0.1531, allocations: 15.92 kB / 475 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1531, allocations: 8 kB / 475 MB, free: 8.016 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001123/0.1532, allocations: 125.8 kB / 475.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1532, allocations: 15.81 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1533, allocations: 17.39 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1533, allocations: 3.938 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1533, allocations: 8 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1533, allocations: 0 / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1535, allocations: 209.6 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1535, allocations: 0 / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.1536, allocations: 12.08 kB / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1536, allocations: 3.938 kB / 475.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1536, allocations: 8 kB / 475.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1536, allocations: 3.938 kB / 475.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1536, allocations: 0 / 475.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.154, allocations: 184.8 kB / 475.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.1542, allocations: 92.89 kB / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1543, allocations: 0 / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.1543, allocations: 11.94 kB / 475.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.1544, allocations: 11.92 kB / 475.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1544, allocations: 4 kB / 475.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1545, allocations: 141.1 kB / 475.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1546, allocations: 4.062 kB / 475.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1548, allocations: 28.12 kB / 475.9 MB, free: 7.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001072/0.1559, allocations: 407.8 kB / 476.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.1561, allocations: 79.89 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1561, allocations: 0 / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1562, allocations: 44.17 kB / 476.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1566, allocations: 31.97 kB / 476.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.1573, allocations: 301.9 kB / 476.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1577, allocations: 0.7087 MB / 477.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.014e-05/0.1578, allocations: 25.38 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.1578, allocations: 23.44 kB / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.835e-06/0.1578, allocations: 0 / 477.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Templates: time 0.005021/0.1628, allocations: 1.782 MB / 479.3 MB, free: 3.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches