Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001142/0.001142, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.351/1.351, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2098/0.2098, allocations: 44.18 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.81 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 60.83 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003117/0.1291, allocations: 1.684 MB / 471.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1311, allocations: 1.487 MB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.1312, allocations: 0 / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1315, allocations: 39.77 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1317, allocations: 59.69 kB / 473.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.132, allocations: 106.8 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1322, allocations: 103.7 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1323, allocations: 12.22 kB / 473.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.1324, allocations: 39.8 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1325, allocations: 35.84 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1326, allocations: 4 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1327, allocations: 59.97 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.1327, allocations: 19.91 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.1328, allocations: 27.81 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.133, allocations: 135.8 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.133, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.133, allocations: 0 / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.133, allocations: 0 / 473.7 MB, free: 10.55 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.0005323/0.1336, allocations: 395.2 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1336, allocations: 15.95 kB / 474.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1337, allocations: 8.844 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1339, allocations: 208.1 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1339, allocations: 384 / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.134, allocations: 16.11 kB / 474.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1341, allocations: 67.33 kB / 474.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1342, allocations: 4 kB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1342, allocations: 0 / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1342, allocations: 0 / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.1343, allocations: 19.98 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1346, allocations: 276.9 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1348, allocations: 62.62 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.1349, allocations: 28.78 kB / 474.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1349, allocations: 4 kB / 474.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1351, allocations: 63.39 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1351, allocations: 4 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005352/0.1356, allocations: 173.1 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.1357, allocations: 81.11 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1359, allocations: 152.2 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1359, allocations: 25.7 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.136, allocations: 92.14 kB / 475.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.136, allocations: 23.7 kB / 475.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1361, allocations: 25.72 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1362, allocations: 330.8 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.1363, allocations: 15.98 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.1364, allocations: 54.48 kB / 475.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1365, allocations: 53.78 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1365, allocations: 4 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1367, allocations: 105.5 kB / 476 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1367, allocations: 4 kB / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1368, allocations: 0 / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1368, allocations: 4 kB / 476 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.1369, allocations: 15.98 kB / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1369, allocations: 0 / 476 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1369, allocations: 11.88 kB / 476 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.137, allocations: 0 / 476 MB, free: 8 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 9.705e-05/0.1371, allocations: 126 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1371, allocations: 15.89 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1371, allocations: 16.66 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1371, allocations: 3.984 kB / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1372, allocations: 0 / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1372, allocations: 7.938 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1376, allocations: 383.3 kB / 476.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1376, allocations: 4 kB / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.1376, allocations: 12.03 kB / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1376, allocations: 0 / 476.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1377, allocations: 8.312 kB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1377, allocations: 0 / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1377, allocations: 7.938 kB / 476.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1379, allocations: 204.1 kB / 476.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.138, allocations: 89 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.138, allocations: 11.94 kB / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.1381, allocations: 0 / 476.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1381, allocations: 7.984 kB / 476.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1381, allocations: 8 kB / 476.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.1382, allocations: 115.2 kB / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1382, allocations: 0 / 477 MB, free: 6.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1385, allocations: 28 kB / 477.1 MB, free: 6.863 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.001136/0.1396, allocations: 0.4988 MB / 477.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1398, allocations: 59.92 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1399, allocations: 0 / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1399, allocations: 35.92 kB / 477.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1403, allocations: 27.06 kB / 477.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.1407, allocations: 224.7 kB / 477.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.141, allocations: 0.6973 MB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.141, allocations: 15.44 kB / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.141, allocations: 0 / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.00401/0.145, allocations: 2.065 MB / 480.7 MB, free: 3.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches