Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.8 kB / 17.63 MB, free: 5.344 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.001509/0.001509, allocations: 192 kB / 18.56 MB, free: 4.434 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.4/1.4, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2132/0.2132, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 58.78 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1342, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003356/0.1376, allocations: 1.661 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1392, allocations: 0.8497 MB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1393, allocations: 0 / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1396, allocations: 67.73 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1399, allocations: 71.72 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1402, allocations: 103.6 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1404, allocations: 91.7 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.825e-05/0.1404, allocations: 11.98 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.82e-05/0.1405, allocations: 39.84 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.1406, allocations: 47.77 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1406, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.1407, allocations: 27.98 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.1408, allocations: 15.98 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1408, allocations: 35.62 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.141, allocations: 107.9 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.141, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.141, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1411, allocations: 0 / 472.4 MB, free: 11.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000541/0.1416, allocations: 399 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1416, allocations: 8.031 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1417, allocations: 12.84 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1419, allocations: 204.1 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1419, allocations: 4.375 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1419, allocations: 8.125 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1421, allocations: 53.61 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1421, allocations: 3.984 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1421, allocations: 0 / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1421, allocations: 4 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.368e-05/0.1422, allocations: 15.98 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.1424, allocations: 185.5 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1426, allocations: 54.62 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.1426, allocations: 28.72 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1426, allocations: 0 / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1428, allocations: 63.33 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.1428, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000254/0.1431, allocations: 97.58 kB / 473.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1432, allocations: 51.41 kB / 473.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1433, allocations: 194 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1433, allocations: 29.7 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.1434, allocations: 100.1 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1434, allocations: 11.81 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1435, allocations: 21.72 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1436, allocations: 322.8 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.1436, allocations: 15.98 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.1437, allocations: 29.7 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.1438, allocations: 41.95 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1438, allocations: 0 / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001399/0.144, allocations: 93.47 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.144, allocations: 4 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.144, allocations: 8.016 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.144, allocations: 4 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.1441, allocations: 8 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1441, allocations: 0 / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.1441, allocations: 4 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1441, allocations: 0 / 474.4 MB, free: 8.941 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 (7): * Single equations (assignments): 7 * 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.0001021/0.1443, allocations: 133.6 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1443, allocations: 7.906 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.1443, allocations: 20.3 kB / 474.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1443, allocations: 4 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1443, allocations: 0 / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1443, allocations: 0 / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1445, allocations: 189.5 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1445, allocations: 0 / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.1445, allocations: 4 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1445, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1445, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1445, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1445, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1447, allocations: 116.9 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1448, allocations: 96.88 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1448, allocations: 0 / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.1449, allocations: 4 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1449, allocations: 0 / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.1449, allocations: 8 kB / 475 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.145, allocations: 139.2 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.145, allocations: 0 / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.1452, allocations: 20 kB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009488/0.1462, allocations: 419.2 kB / 475.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1464, allocations: 43.91 kB / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1464, allocations: 0 / 475.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.1464, allocations: 16 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1467, allocations: 34.88 kB / 475.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1471, allocations: 202.3 kB / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1473, allocations: 0.6965 MB / 476.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.358e-05/0.1474, allocations: 16.56 kB / 476.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1474, allocations: 19.42 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1474, allocations: 0 / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of Templates: time 0.003667/0.1511, allocations: 1.469 MB / 478 MB, free: 5.332 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches