Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.00131/0.00131, allocations: 105.1 kB / 17.74 MB, free: 5.363 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: 191.8 kB / 18.67 MB, free: 4.441 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.221/1.221, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8171/0.8171, allocations: 119.3 MB / 411.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.08 kB / 0.5715 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1126, allocations: 80.69 MB / 0.6503 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002328/0.115, allocations: 1.392 MB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.1159, allocations: 0.5713 MB / 0.6523 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1159, allocations: 0 / 0.6523 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1161, allocations: 23.91 kB / 0.6523 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1163, allocations: 59.8 kB / 0.6523 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1166, allocations: 79.73 kB / 0.6524 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1167, allocations: 95.8 kB / 0.6525 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.1168, allocations: 3.984 kB / 0.6525 GB, free: 10.85 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.1169, allocations: 55.83 kB / 0.6526 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.117, allocations: 39.84 kB / 0.6526 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.117, allocations: 8 kB / 0.6526 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1171, allocations: 75.92 kB / 0.6527 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1172, allocations: 63.8 kB / 0.6527 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.1173, allocations: 51.61 kB / 0.6528 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1175, allocations: 151.5 kB / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1175, allocations: 0 / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1175, allocations: 0 / 0.6529 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1175, allocations: 0 / 0.6529 GB, free: 10.41 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.0004545/0.118, allocations: 480.1 kB / 0.6534 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.118, allocations: 15.89 kB / 0.6534 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.1181, allocations: 16.75 kB / 0.6534 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1184, allocations: 312.7 kB / 0.6537 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1185, allocations: 4.375 kB / 0.6537 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1185, allocations: 8.375 kB / 0.6537 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.1186, allocations: 54 kB / 0.6538 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1186, allocations: 0 / 0.6538 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1186, allocations: 0 / 0.6538 GB, free: 9.438 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1186, allocations: 3.984 kB / 0.6538 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.1187, allocations: 16 kB / 0.6538 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.1189, allocations: 201.6 kB / 0.654 GB, free: 9.172 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.666e-05/0.119, allocations: 50.5 kB / 0.654 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.119, allocations: 33 kB / 0.6541 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.119, allocations: 0 / 0.6541 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.1192, allocations: 109 kB / 0.6542 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1192, allocations: 0 / 0.6542 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0002697/0.1194, allocations: 167 kB / 0.6543 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1195, allocations: 85.09 kB / 0.6544 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1197, allocations: 228.2 kB / 0.6546 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1197, allocations: 29.7 kB / 0.6547 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1198, allocations: 124.1 kB / 0.6548 GB, free: 8.281 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1198, allocations: 15.8 kB / 0.6548 GB, free: 8.266 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1199, allocations: 21.72 kB / 0.6548 GB, free: 8.238 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.12, allocations: 334.8 kB / 0.6551 GB, free: 7.902 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.12, allocations: 19.98 kB / 0.6552 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.12, allocations: 12 kB / 0.6552 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.745e-05/0.1201, allocations: 116.2 kB / 0.6553 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1201, allocations: 0 / 0.6553 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001789/0.1203, allocations: 151 kB / 0.6554 GB, free: 7.582 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.1204, allocations: 36.67 kB / 0.6555 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1204, allocations: 0 / 0.6555 GB, free: 7.543 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1204, allocations: 4 kB / 0.6555 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.1204, allocations: 4 kB / 0.6555 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1205, allocations: 0 / 0.6555 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1205, allocations: 3.984 kB / 0.6555 GB, free: 7.531 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1205, allocations: 15.94 kB / 0.6555 GB, free: 7.516 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.0001188/0.1207, allocations: 181 kB / 0.6557 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1207, allocations: 23.75 kB / 0.6557 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.1207, allocations: 21.39 kB / 0.6557 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1207, allocations: 0 / 0.6557 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1207, allocations: 0 / 0.6557 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1207, allocations: 0 / 0.6557 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1209, allocations: 221.5 kB / 0.6559 GB, free: 7.012 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1209, allocations: 0 / 0.6559 GB, free: 7.012 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.1209, allocations: 4.031 kB / 0.6559 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1209, allocations: 7.938 kB / 0.6559 GB, free: 7 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1209, allocations: 4 kB / 0.6559 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1209, allocations: 4 kB / 0.6559 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1209, allocations: 0 / 0.6559 GB, free: 6.992 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1212, allocations: 194.6 kB / 0.6561 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.1212, allocations: 100.8 kB / 0.6562 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1213, allocations: 15.98 kB / 0.6562 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.1213, allocations: 4 kB / 0.6562 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.1213, allocations: 7.938 kB / 0.6562 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1214, allocations: 8 kB / 0.6562 GB, free: 6.625 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001274/0.1215, allocations: 177.6 kB / 0.6564 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 0.6564 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002584/0.1218, allocations: 36 kB / 0.6565 GB, free: 6.418 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.0001448/0.1219, allocations: 126.9 kB / 0.6566 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1221, allocations: 147.4 kB / 0.6567 GB, free: 6.133 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1221, allocations: 4 kB / 0.6567 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.1222, allocations: 111.3 kB / 0.6568 GB, free: 6.008 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.1224, allocations: 16.67 kB / 0.6568 GB, free: 5.988 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.1228, allocations: 317.3 kB / 0.6571 GB, free: 5.648 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1231, allocations: 0.7278 MB / 0.6579 GB, free: 4.895 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.1231, allocations: 15.44 kB / 0.6579 GB, free: 4.879 MB / 0.4983 GB Notification: Performance of SimCode: time 2e-07/0.1231, allocations: 0 / 0.6579 GB, free: 4.879 MB / 0.4983 GB Notification: Performance of Templates: time 0.003258/0.1264, allocations: 2.072 MB / 0.6599 GB, free: 2.805 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches