Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 104.5 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.001995/0.001995, 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.39/1.39, allocations: 222.9 MB / 242.2 MB, free: 15.14 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.2154/0.2154, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.81 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 60.84 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.0032/0.1348, allocations: 1.696 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1362, allocations: 0.8808 MB / 471.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.1363, allocations: 3.938 kB / 471.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1365, allocations: 31.83 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1368, allocations: 59.69 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1371, allocations: 107.7 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1372, allocations: 99.69 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.1373, allocations: 12.22 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1374, allocations: 39.8 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1375, allocations: 31.78 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1375, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.1376, allocations: 39.98 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.1376, allocations: 19.92 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1377, allocations: 39.67 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1379, allocations: 115.9 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1379, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1379, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1379, allocations: 0 / 472.4 MB, free: 11.15 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.000498/0.1384, allocations: 415 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1385, allocations: 8.031 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1385, allocations: 12.84 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1387, allocations: 208 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1387, allocations: 4.375 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1388, allocations: 8.125 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1389, allocations: 53.67 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1389, allocations: 0 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.139, allocations: 4 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.139, allocations: 0 / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.139, allocations: 19.92 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1394, allocations: 284.9 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1396, allocations: 62.67 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.1396, allocations: 16.86 kB / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1396, allocations: 0 / 473.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1398, allocations: 67.33 kB / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/0.1398, allocations: 0 / 473.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005002/0.1404, allocations: 185.4 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.1404, allocations: 51.41 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1406, allocations: 186.2 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1406, allocations: 29.7 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1406, allocations: 104.1 kB / 474.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1407, allocations: 23.66 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1407, allocations: 21.7 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1408, allocations: 330.8 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.1409, allocations: 20 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-05/0.141, allocations: 33.83 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1411, allocations: 65.64 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1411, allocations: 0 / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.1413, allocations: 105.5 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1413, allocations: 15.97 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.1414, allocations: 4.172 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1414, allocations: 0 / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1415, allocations: 15.94 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1415, allocations: 4 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1416, allocations: 3.938 kB / 474.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1416, allocations: 8 kB / 474.8 MB, free: 8.59 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 0.0001236/0.1417, allocations: 125.8 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1417, allocations: 7.906 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.1418, allocations: 24.7 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1418, allocations: 0 / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1418, allocations: 0 / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1418, allocations: 3.938 kB / 474.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.1422, allocations: 387.3 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1422, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1423, allocations: 11.94 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1423, allocations: 0 / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1423, allocations: 11.95 kB / 475.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1423, allocations: 4 kB / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1423, allocations: 0 / 475.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.1425, allocations: 204.2 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1426, allocations: 81.02 kB / 475.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1426, allocations: 7.938 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.1427, allocations: 15.92 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1427, allocations: 4 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1428, allocations: 4 kB / 475.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1429, allocations: 147.1 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1429, allocations: 4 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1431, allocations: 20 kB / 475.8 MB, free: 7.438 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.0009755/0.1441, allocations: 469.1 kB / 476.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1443, allocations: 63.91 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1443, allocations: 0 / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1444, allocations: 31.98 kB / 476.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.1447, allocations: 28.42 kB / 476.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.1452, allocations: 227.1 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1455, allocations: 0.7041 MB / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.1456, allocations: 16.88 kB / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.1456, allocations: 19.38 kB / 477.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1457, allocations: 0 / 477.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of Templates: time 0.004067/0.1497, allocations: 1.699 MB / 479 MB, free: 4.34 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches