Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001301/0.001301, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2574/0.2574, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 65.5 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002919/0.1493, allocations: 1.716 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1505, allocations: 0.8195 MB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.85e-05/0.1507, allocations: 0 / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1511, allocations: 35.78 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.1513, allocations: 59.75 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1515, allocations: 87.7 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1516, allocations: 99.69 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.1517, allocations: 8.516 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.1518, allocations: 43.78 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.1518, allocations: 35.84 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1518, allocations: 4 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.152, allocations: 63.97 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.152, allocations: 15.92 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.152, allocations: 35.73 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1522, allocations: 135.6 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1522, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1522, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1522, allocations: 0 / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000428/0.1526, allocations: 407 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1527, allocations: 11.89 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.1527, allocations: 8.844 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1529, allocations: 213.3 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1529, allocations: 4.312 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.153, allocations: 12.11 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1531, allocations: 71.39 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1531, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1531, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-06/0.1531, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.1532, allocations: 23.98 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.1535, allocations: 304.7 kB / 444.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1536, allocations: 58.48 kB / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.1537, allocations: 20.98 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1537, allocations: 0 / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.1538, allocations: 75.38 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1538, allocations: 0 / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004523/0.1543, allocations: 173.3 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1544, allocations: 85.11 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1545, allocations: 152.9 kB / 445.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1545, allocations: 25.7 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.1545, allocations: 104 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1545, allocations: 35.64 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.1546, allocations: 21.72 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.1546, allocations: 326.8 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1547, allocations: 19.98 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1548, allocations: 46.5 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.942e-05/0.1549, allocations: 69.67 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1549, allocations: 0 / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000158/0.155, allocations: 105.6 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1551, allocations: 8 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1551, allocations: 4 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.1551, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.389e-05/0.1552, allocations: 19.98 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.1552, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.1552, allocations: 7.938 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1552, allocations: 4 kB / 446 MB, free: 1.125 MB / 318.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 (11): * Single equations (assignments): 11 * 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 6.567e-05/0.1553, allocations: 137.7 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1553, allocations: 7.906 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1555, allocations: 114.3 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1555, allocations: 4 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1556, allocations: 0 / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1556, allocations: 3.938 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.1559, allocations: 403.2 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1559, allocations: 0 / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.156, allocations: 8 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.156, allocations: 7.984 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.156, allocations: 7.938 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.156, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.156, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1562, allocations: 208.3 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.1562, allocations: 85.02 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1562, allocations: 7.922 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1563, allocations: 8 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.1563, allocations: 4 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.1564, allocations: 7.984 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1565, allocations: 111.5 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1565, allocations: 0 / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1567, allocations: 35.98 kB / 447.2 MB, free: 15.87 MB / 334.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 (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.001136/0.1579, allocations: 0.5143 MB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1581, allocations: 67.86 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1581, allocations: 0 / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.553e-05/0.1582, allocations: 35.97 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1585, allocations: 27.25 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.159, allocations: 203.1 kB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.1593, allocations: 0.6963 MB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.855e-05/0.1593, allocations: 25.02 kB / 448.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1594, allocations: 23.42 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1594, allocations: 0 / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004769/0.1642, allocations: 2.049 MB / 450.8 MB, free: 12.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches