Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 95.25 kB / 16.98 MB, free: 5.938 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.000994/0.0009941, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.455/1.455, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 12 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.00224/0.1299, allocations: 1.383 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.132, allocations: 1.363 MB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1321, allocations: 0 / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1324, allocations: 35.83 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.1327, allocations: 47.81 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1331, allocations: 98.75 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1334, allocations: 55.88 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1335, allocations: 12.22 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1336, allocations: 39.84 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1338, allocations: 23.84 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1339, allocations: 4 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1341, allocations: 39.92 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.1341, allocations: 19.91 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.1342, allocations: 41.64 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1344, allocations: 88.09 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1344, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1345, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1345, allocations: 3.938 kB / 474.7 MB, free: 10.47 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.0007519/0.1352, allocations: 387.1 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.1353, allocations: 12.03 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.1354, allocations: 11.81 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1357, allocations: 203 kB / 475.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1358, allocations: 3.953 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.1358, allocations: 4 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.136, allocations: 75.33 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.136, allocations: 0 / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1361, allocations: 0 / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1361, allocations: 0 / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.1362, allocations: 19.98 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.1367, allocations: 284.8 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1369, allocations: 58.61 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1369, allocations: 0 / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1371, allocations: 67.52 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1372, allocations: 4 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005836/0.1377, allocations: 173.2 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1378, allocations: 81.11 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.138, allocations: 151.9 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.138, allocations: 33.7 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.1381, allocations: 92.14 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1381, allocations: 23.7 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1381, allocations: 0 / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1383, allocations: 330.7 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.1383, allocations: 23.94 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-05/0.1384, allocations: 38.56 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.174e-05/0.1385, allocations: 27.98 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1385, allocations: 0 / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1387, allocations: 97.53 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1387, allocations: 8.062 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1387, allocations: 0 / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1387, allocations: 7.984 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.1388, allocations: 15.98 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1388, allocations: 0 / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1389, allocations: 7.938 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1389, allocations: 192 / 476.9 MB, free: 8.039 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.139, allocations: 134.2 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1391, allocations: 15.75 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.1391, allocations: 16.72 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1391, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1391, allocations: 4 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1391, allocations: 0 / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1396, allocations: 387.6 kB / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1396, allocations: 4 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.1397, allocations: 8 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1397, allocations: 4 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1397, allocations: 8.031 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1397, allocations: 0 / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1397, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.14, allocations: 214.2 kB / 477.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1401, allocations: 89 kB / 477.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1401, allocations: 11.94 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1402, allocations: 7.984 kB / 477.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1402, allocations: 7.953 kB / 477.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.1403, allocations: 4 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1404, allocations: 117.8 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1404, allocations: 0 / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000293/0.1407, allocations: 31.98 kB / 477.9 MB, free: 6.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.1419, allocations: 0.5003 MB / 478.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1421, allocations: 59.91 kB / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1421, allocations: 0 / 478.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.1422, allocations: 24 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.1424, allocations: 27.97 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.1429, allocations: 210.2 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1432, allocations: 0.7014 MB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.1433, allocations: 17.17 kB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.1433, allocations: 27.42 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1433, allocations: 0 / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004763/0.1481, allocations: 1.837 MB / 481.3 MB, free: 3.625 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches