Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001428, allocations: 96.83 kB / 16.99 MB, free: 5.941 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.001381/0.001382, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 368 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.245/0.245, allocations: 44.22 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 15.22 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1222, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002643/0.1249, allocations: 1.386 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1269, allocations: 0.7881 MB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1271, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004392/0.1276, allocations: 35.78 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.1279, allocations: 47.88 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.1284, allocations: 86.39 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.1287, allocations: 67.8 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1288, allocations: 12.16 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1289, allocations: 35.86 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.129, allocations: 27.84 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.129, allocations: 4 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1292, allocations: 27.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.1292, allocations: 15.92 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1293, allocations: 41.64 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1295, allocations: 84.09 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1295, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1295, allocations: 0 / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1295, allocations: 7.938 kB / 474.1 MB, free: 11.05 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.000643/0.1301, allocations: 395 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1302, allocations: 12.03 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.1303, allocations: 15.81 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1306, allocations: 207.5 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1306, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1306, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1308, allocations: 53.62 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1308, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1308, allocations: 8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1308, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.1309, allocations: 15.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.1315, allocations: 288.9 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.1318, allocations: 62.61 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.1318, allocations: 0 / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.132, allocations: 63.52 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1321, allocations: 0 / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006333/0.1327, allocations: 181 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1328, allocations: 55.41 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.133, allocations: 191.3 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.133, allocations: 29.7 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1331, allocations: 104.1 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1331, allocations: 23.7 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.1331, allocations: 8 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1333, allocations: 326.8 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.665e-05/0.1333, allocations: 23.98 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.474e-05/0.1334, allocations: 37.64 kB / 476.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.1335, allocations: 28.02 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1335, allocations: 0 / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1337, allocations: 101.5 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1337, allocations: 10.22 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1337, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1337, allocations: 0 / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1338, allocations: 20 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1339, allocations: 3.984 kB / 476.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.1339, allocations: 4 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1339, allocations: 384 / 476.4 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 ($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.0001271/0.1341, allocations: 145.6 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1341, allocations: 11.81 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1342, allocations: 21.41 kB / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1342, allocations: 0 / 476.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1342, allocations: 4 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1342, allocations: 0 / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004829/0.1347, allocations: 399.3 kB / 476.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1347, allocations: 0 / 476.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1347, allocations: 8 kB / 476.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1347, allocations: 4.031 kB / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1348, allocations: 0 / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1348, allocations: 4 kB / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1348, allocations: 0 / 476.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.135, allocations: 213.9 kB / 477.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.1351, allocations: 89 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1352, allocations: 11.94 kB / 477.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.1353, allocations: 4 kB / 477.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.1353, allocations: 11.97 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1353, allocations: 4 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.1355, allocations: 148.9 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 3.938 kB / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1358, allocations: 27.95 kB / 477.4 MB, free: 7.395 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.001124/0.1369, allocations: 467.1 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1372, allocations: 59.91 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1372, allocations: 0 / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.1373, allocations: 36.12 kB / 478 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1376, allocations: 24.11 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.1381, allocations: 250.3 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1384, allocations: 0.7082 MB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.675e-05/0.1385, allocations: 12.88 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1385, allocations: 19.44 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1386, allocations: 0 / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of Templates: time 0.00446/0.143, allocations: 1.591 MB / 480.6 MB, free: 4.379 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches