Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001333/0.001332, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.36/1.36, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.2142/0.2142, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 61.31 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003727/0.1277, allocations: 1.692 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1293, allocations: 0.8808 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1294, allocations: 0 / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1298, allocations: 51.81 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1302, allocations: 55.69 kB / 472.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1306, allocations: 114.8 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1308, allocations: 99.69 kB / 472.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1309, allocations: 4.234 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.131, allocations: 43.78 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.1311, allocations: 31.86 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1311, allocations: 4 kB / 472.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1313, allocations: 39.97 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1314, allocations: 23.92 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1314, allocations: 39.73 kB / 473 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1317, allocations: 123.8 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1317, allocations: 4 kB / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1317, allocations: 0 / 473.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1317, allocations: 3.938 kB / 473.1 MB, free: 11.14 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.0006043/0.1323, allocations: 418.9 kB / 473.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1324, allocations: 8.031 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.1324, allocations: 16.75 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1327, allocations: 212.1 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1327, allocations: 4.312 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1327, allocations: 8.125 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1329, allocations: 53.67 kB / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1329, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.133, allocations: 0 / 473.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.133, allocations: 7.922 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.635e-05/0.1331, allocations: 23.98 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.1335, allocations: 296.7 kB / 474.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1337, allocations: 50.67 kB / 474.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.1338, allocations: 28.78 kB / 474.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1338, allocations: 4 kB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1341, allocations: 63.39 kB / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1341, allocations: 0 / 474.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005884/0.1347, allocations: 177.2 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1347, allocations: 51.41 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.135, allocations: 222.7 kB / 474.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.135, allocations: 29.7 kB / 474.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.1351, allocations: 112 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1351, allocations: 27.64 kB / 474.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1351, allocations: 25.72 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1353, allocations: 330.8 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.1353, allocations: 16 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1354, allocations: 37.7 kB / 475.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1355, allocations: 61.72 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1355, allocations: 0 / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.1357, allocations: 105.5 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1358, allocations: 4 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1358, allocations: 0 / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1358, allocations: 4.562 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/0.1359, allocations: 15.98 kB / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1359, allocations: 3.938 kB / 475.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.136, allocations: 15.97 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.136, allocations: 4 kB / 475.5 MB, free: 8.516 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.0001071/0.1361, allocations: 130.9 kB / 475.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.1361, allocations: 11.81 kB / 475.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.1362, allocations: 25.39 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1362, allocations: 3.938 kB / 475.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1362, allocations: 3.938 kB / 475.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1362, allocations: 3.938 kB / 475.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1367, allocations: 391.4 kB / 476.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1367, allocations: 7.984 kB / 476.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.1367, allocations: 7.938 kB / 476.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1367, allocations: 4 kB / 476.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1368, allocations: 3.938 kB / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1368, allocations: 0 / 476.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1368, allocations: 4 kB / 476.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.137, allocations: 208.2 kB / 476.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1371, allocations: 89 kB / 476.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1371, allocations: 3.938 kB / 476.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1372, allocations: 0 / 476.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.1373, allocations: 15.92 kB / 476.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1373, allocations: 4 kB / 476.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1374, allocations: 171.2 kB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1374, allocations: 0 / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1377, allocations: 31.98 kB / 476.6 MB, free: 7.312 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.001078/0.1388, allocations: 453.9 kB / 477.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.139, allocations: 63.86 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.139, allocations: 4 kB / 477.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.1391, allocations: 27.98 kB / 477.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1394, allocations: 31.22 kB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.14, allocations: 300.5 kB / 477.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1404, allocations: 0.7119 MB / 478.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1404, allocations: 15.44 kB / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1404, allocations: 0 / 478.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004195/0.1446, allocations: 1.965 MB / 480.2 MB, free: 3.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches