Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 109.3 kB / 17.74 MB, free: 5.359 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.001192/0.001192, allocations: 180.1 kB / 18.66 MB, free: 4.449 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8911/0.8911, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.77 kB / 0.5715 GB, free: 39.95 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 80.7 MB / 0.6504 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002444/0.1406, allocations: 1.392 MB / 0.6517 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.1416, allocations: 0.5675 MB / 0.6523 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.1416, allocations: 4 kB / 0.6523 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1418, allocations: 23.91 kB / 0.6523 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.1421, allocations: 55.81 kB / 0.6523 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.1423, allocations: 79.78 kB / 0.6524 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1425, allocations: 95.73 kB / 0.6525 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1425, allocations: 3.984 kB / 0.6525 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1426, allocations: 55.83 kB / 0.6526 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1428, allocations: 43.89 kB / 0.6526 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1428, allocations: 8 kB / 0.6526 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1429, allocations: 75.88 kB / 0.6527 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1431, allocations: 59.8 kB / 0.6527 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1431, allocations: 55.61 kB / 0.6528 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1433, allocations: 147.5 kB / 0.6529 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1433, allocations: 0 / 0.6529 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1433, allocations: 0 / 0.6529 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1433, allocations: 0 / 0.6529 GB, free: 10.52 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005069/0.1439, allocations: 480.1 kB / 0.6534 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1439, allocations: 15.89 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.144, allocations: 20.75 kB / 0.6534 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1444, allocations: 304.7 kB / 0.6537 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1444, allocations: 8.375 kB / 0.6537 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1444, allocations: 384 / 0.6537 GB, free: 9.613 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1445, allocations: 65.92 kB / 0.6538 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1446, allocations: 0 / 0.6538 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1446, allocations: 0 / 0.6538 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1446, allocations: 0 / 0.6538 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.444e-05/0.1446, allocations: 16 kB / 0.6538 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.1448, allocations: 197.6 kB / 0.654 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.1449, allocations: 46.56 kB / 0.654 GB, free: 9.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.145, allocations: 32.86 kB / 0.6541 GB, free: 9.195 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.145, allocations: 3.938 kB / 0.6541 GB, free: 9.191 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.1451, allocations: 101.1 kB / 0.6542 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.1451, allocations: 0 / 0.6542 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002858/0.1454, allocations: 171.2 kB / 0.6543 GB, free: 8.895 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1455, allocations: 77.11 kB / 0.6544 GB, free: 8.801 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1457, allocations: 240.1 kB / 0.6546 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1457, allocations: 33.64 kB / 0.6547 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1458, allocations: 116.1 kB / 0.6548 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.1458, allocations: 19.8 kB / 0.6548 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1458, allocations: 25.66 kB / 0.6548 GB, free: 8.348 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.1459, allocations: 334.8 kB / 0.6551 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.544e-05/0.146, allocations: 12 kB / 0.6552 GB, free: 8 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.146, allocations: 19.98 kB / 0.6552 GB, free: 7.98 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.1461, allocations: 104.3 kB / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1461, allocations: 0 / 0.6553 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001708/0.1463, allocations: 159 kB / 0.6554 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.1464, allocations: 36.67 kB / 0.6555 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1464, allocations: 0 / 0.6555 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1464, allocations: 4 kB / 0.6555 GB, free: 7.652 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1464, allocations: 7.984 kB / 0.6555 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1465, allocations: 0 / 0.6555 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1465, allocations: 0 / 0.6555 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1465, allocations: 8 kB / 0.6555 GB, free: 7.637 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001238/0.1467, allocations: 180.9 kB / 0.6557 GB, free: 7.445 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1467, allocations: 23.75 kB / 0.6557 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.1467, allocations: 25.53 kB / 0.6557 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1467, allocations: 3.984 kB / 0.6557 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1468, allocations: 0 / 0.6557 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1468, allocations: 0 / 0.6557 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1469, allocations: 217.6 kB / 0.6559 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1469, allocations: 3.938 kB / 0.6559 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.1469, allocations: 7.875 kB / 0.6559 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.147, allocations: 4 kB / 0.6559 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.147, allocations: 4 kB / 0.6559 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.147, allocations: 0 / 0.6559 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.147, allocations: 4 kB / 0.6559 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1472, allocations: 194.6 kB / 0.6561 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.1473, allocations: 104.8 kB / 0.6562 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1473, allocations: 4 kB / 0.6562 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.1474, allocations: 7.938 kB / 0.6562 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1474, allocations: 8 kB / 0.6562 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1474, allocations: 8 kB / 0.6562 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000125/0.1475, allocations: 177.6 kB / 0.6564 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1476, allocations: 0 / 0.6564 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002208/0.1478, allocations: 32 kB / 0.6564 GB, free: 6.539 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001537/0.1479, allocations: 127.1 kB / 0.6566 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1481, allocations: 143.4 kB / 0.6567 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1482, allocations: 0 / 0.6567 GB, free: 6.254 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.1483, allocations: 115.4 kB / 0.6568 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1485, allocations: 20.61 kB / 0.6568 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.1489, allocations: 317 kB / 0.6571 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1492, allocations: 0.7317 MB / 0.6579 GB, free: 5.012 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.1492, allocations: 19.38 kB / 0.6579 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.1492, allocations: 0 / 0.6579 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of Templates: time 0.003541/0.1528, allocations: 2.053 MB / 0.6599 GB, free: 2.938 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches