Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008395, allocations: 101.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 185.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4948/0.4948, allocations: 43.58 MB / 315 MB, free: 8.652 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005288/0.0005288, allocations: 20 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1354, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002284/0.1377, allocations: 1.418 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1393, allocations: 0.773 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-05/0.1394, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1397, allocations: 83.75 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1399, allocations: 55.81 kB / 445.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.1402, allocations: 83.83 kB / 445.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1403, allocations: 95.69 kB / 446 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.1404, allocations: 24.2 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.1405, allocations: 43.78 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.1406, allocations: 55.81 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1406, allocations: 0 / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1407, allocations: 43.92 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.1408, allocations: 15.92 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.1409, allocations: 61.44 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.141, allocations: 119.8 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.141, allocations: 0 / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1411, allocations: 0 / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1411, allocations: 4 kB / 446.3 MB, free: 9.781 MB / 382.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.0004482/0.1415, allocations: 407 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1416, allocations: 12.03 kB / 446.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1416, allocations: 12.75 kB / 446.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1419, allocations: 216.8 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1419, allocations: 384 / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.142, allocations: 8.125 kB / 447 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1421, allocations: 57.67 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1421, allocations: 0 / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1421, allocations: 0 / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1421, allocations: 0 / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1422, allocations: 19.98 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1426, allocations: 300.8 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1427, allocations: 54.67 kB / 447.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.1428, allocations: 20.86 kB / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1428, allocations: 0 / 447.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.143, allocations: 71.31 kB / 447.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.143, allocations: 0 / 447.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004934/0.1435, allocations: 181.1 kB / 447.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.1436, allocations: 59.34 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1438, allocations: 210.3 kB / 447.9 MB, free: 7.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1438, allocations: 29.7 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.1439, allocations: 104.1 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1439, allocations: 23.66 kB / 448.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.144, allocations: 21.7 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1441, allocations: 326.8 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1442, allocations: 16 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.1442, allocations: 41.7 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1443, allocations: 57.64 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1443, allocations: 0 / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1445, allocations: 105.5 kB / 448.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1446, allocations: 4 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1446, allocations: 3.984 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1446, allocations: 0 / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1447, allocations: 23.97 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.1447, allocations: 0 / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1447, allocations: 7.938 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1447, allocations: 4.328 kB / 448.7 MB, free: 7.195 MB / 382.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.0001051/0.1449, allocations: 133.6 kB / 448.8 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.1449, allocations: 15.84 kB / 448.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.1449, allocations: 21.38 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1449, allocations: 0 / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1449, allocations: 0 / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.145, allocations: 7.938 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.1454, allocations: 399.2 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1454, allocations: 0 / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1454, allocations: 11.98 kB / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1455, allocations: 0 / 449.2 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1455, allocations: 11.88 kB / 449.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1455, allocations: 4 kB / 449.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1455, allocations: 3.938 kB / 449.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1457, allocations: 196.3 kB / 449.5 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1458, allocations: 96.91 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1458, allocations: 3.938 kB / 449.6 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.1459, allocations: 4 kB / 449.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1459, allocations: 11.98 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1459, allocations: 8 kB / 449.6 MB, free: 6.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.146, allocations: 156.2 kB / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1461, allocations: 0 / 449.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1463, allocations: 20 kB / 449.7 MB, free: 6.012 MB / 382.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.001322/0.1476, allocations: 481.3 kB / 450.2 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1479, allocations: 51.98 kB / 450.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1479, allocations: 0 / 450.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.148, allocations: 39.86 kB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1484, allocations: 23.92 kB / 450.3 MB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.1489, allocations: 266.3 kB / 450.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1493, allocations: 0.7121 MB / 451.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.334e-05/0.1494, allocations: 17.19 kB / 451.3 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1495, allocations: 19.42 kB / 451.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1495, allocations: 0 / 451.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of Templates: time 0.006596/0.1561, allocations: 1.619 MB / 453 MB, free: 2.773 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches