Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007066/0.0007067, allocations: 94.28 kB / 17.35 MB, free: 6.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.000762/0.000762, allocations: 171.9 kB / 18.25 MB, free: 5.504 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.344/1.344, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2033/0.2033, allocations: 44.25 MB / 337.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 410.3 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 61.92 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002135/0.1224, allocations: 1.413 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1239, allocations: 0.8383 MB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.124, allocations: 3.938 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1243, allocations: 31.89 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1245, allocations: 51.83 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1248, allocations: 99.14 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.125, allocations: 87.7 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.1251, allocations: 16.2 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.1252, allocations: 35.8 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.736e-05/0.1253, allocations: 23.86 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1253, allocations: 4 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.1254, allocations: 47.97 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.1255, allocations: 23.86 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.1255, allocations: 53.45 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1257, allocations: 107.9 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1258, allocations: 4 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1258, allocations: 3.938 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1258, allocations: 0 / 475.1 MB, free: 10.45 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.0005928/0.1264, allocations: 391.2 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1264, allocations: 8.031 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1265, allocations: 12.84 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1267, allocations: 216 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1267, allocations: 4.312 kB / 475.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.1268, allocations: 8.125 kB / 475.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1269, allocations: 53.67 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1269, allocations: 0 / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.127, allocations: 0 / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.127, allocations: 0 / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.497e-05/0.1271, allocations: 19.98 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1274, allocations: 284.9 kB / 476.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1276, allocations: 62.61 kB / 476.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.1277, allocations: 20.84 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1277, allocations: 0 / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1279, allocations: 75.39 kB / 476.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.1279, allocations: 3.938 kB / 476.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.1285, allocations: 169.2 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1285, allocations: 55.41 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.1287, allocations: 182.2 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1287, allocations: 29.7 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1288, allocations: 100.1 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1289, allocations: 35.62 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1289, allocations: 13.72 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.129, allocations: 330.8 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.1291, allocations: 19.92 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1292, allocations: 37.7 kB / 477.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1293, allocations: 53.72 kB / 477.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1293, allocations: 4 kB / 477.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1295, allocations: 105.4 kB / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1295, allocations: 4 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.1295, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1295, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.1296, allocations: 23.98 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1296, allocations: 192 / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.1297, allocations: 8.312 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1297, allocations: 3.938 kB / 477.4 MB, free: 7.926 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.0001084/0.1298, allocations: 133.8 kB / 477.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.1298, allocations: 11.89 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1299, allocations: 16.7 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1299, allocations: 4 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1299, allocations: 0 / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1299, allocations: 7.938 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.1304, allocations: 387.3 kB / 477.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1304, allocations: 4.031 kB / 477.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.1305, allocations: 11.98 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1305, allocations: 0 / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1305, allocations: 7.938 kB / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1305, allocations: 0 / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1305, allocations: 0 / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1307, allocations: 212.3 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.1308, allocations: 93 kB / 478.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.1308, allocations: 11.88 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.1309, allocations: 4 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1309, allocations: 7.984 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.131, allocations: 4 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1311, allocations: 143.2 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1311, allocations: 0 / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1313, allocations: 24 kB / 478.4 MB, free: 6.754 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.001098/0.1324, allocations: 462.1 kB / 478.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1326, allocations: 63.89 kB / 479 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1326, allocations: 0 / 479 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.1327, allocations: 35.94 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1331, allocations: 23.97 kB / 479 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1335, allocations: 246.4 kB / 479.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1338, allocations: 0.7082 MB / 480 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.1338, allocations: 17.17 kB / 480 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.1339, allocations: 15.44 kB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1339, allocations: 0 / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of Templates: time 0.004556/0.1384, allocations: 1.631 MB / 481.6 MB, free: 3.703 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches