Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 191.2 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.3453/0.3453, allocations: 225.7 MB / 243 MB, free: 4.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000871/0.000871, allocations: 114 kB / 293.2 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.384/0.384, allocations: 119.5 MB / 462.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008528/0.0008528, allocations: 55.91 kB / 0.5413 GB, free: 10.62 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1028, allocations: 80.71 MB / 0.6201 GB, free: 9.785 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001786/0.1046, allocations: 1.468 MB / 0.6216 GB, free: 8.305 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.1054, allocations: 0.5884 MB / 0.6221 GB, free: 7.707 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.1054, allocations: 0 / 0.6221 GB, free: 7.707 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1057, allocations: 451.1 kB / 0.6226 GB, free: 7.266 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1061, allocations: 479 kB / 0.623 GB, free: 6.797 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1063, allocations: 83.78 kB / 0.6231 GB, free: 6.715 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.1069, allocations: 1.116 MB / 0.6242 GB, free: 5.598 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.1069, allocations: 4 kB / 0.6242 GB, free: 5.594 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.1073, allocations: 0.5654 MB / 0.6248 GB, free: 5.027 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.1079, allocations: 1.033 MB / 0.6258 GB, free: 3.992 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.108, allocations: 68 kB / 0.6258 GB, free: 3.926 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1082, allocations: 135.9 kB / 0.626 GB, free: 3.793 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.1099, allocations: 2.505 MB / 0.6284 GB, free: 1.273 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.1105, allocations: 1.42 MB / 0.6298 GB, free: 15.84 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.112, allocations: 3.104 MB / 0.6328 GB, free: 12.72 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1121, allocations: 0 / 0.6328 GB, free: 12.72 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1121, allocations: 0 / 0.6328 GB, free: 12.72 MB / 458.8 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1121, allocations: 4 kB / 0.6328 GB, free: 12.71 MB / 458.8 MB 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.003583/0.1157, allocations: 5.165 MB / 0.6379 GB, free: 7.453 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.1157, allocations: 8.031 kB / 0.6379 GB, free: 7.445 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.1161, allocations: 0.5678 MB / 0.6384 GB, free: 6.867 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006379/0.1225, allocations: 6.523 MB / 0.6448 GB, free: 268 kB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1225, allocations: 4.375 kB / 0.6448 GB, free: 264 kB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.1225, allocations: 20.75 kB / 0.6448 GB, free: 244 kB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3177/0.4402, allocations: 237.6 kB / 0.6451 GB, free: 29.43 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4402, allocations: 3.188 kB / 0.6451 GB, free: 29.43 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.4403, allocations: 14.88 kB / 0.6451 GB, free: 29.43 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4403, allocations: 0 / 0.6451 GB, free: 29.43 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.4405, allocations: 130.4 kB / 0.6452 GB, free: 29.43 MB / 458.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.4422, allocations: 1.861 MB / 0.647 GB, free: 28.7 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4423, allocations: 102.4 kB / 0.6471 GB, free: 28.67 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4425, allocations: 97.25 kB / 0.6472 GB, free: 28.64 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.4425, allocations: 2.625 kB / 0.6472 GB, free: 28.64 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.4428, allocations: 252.7 kB / 0.6475 GB, free: 28.56 MB / 458.9 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.4428, allocations: 0 / 0.6475 GB, free: 28.56 MB / 458.9 MB Notification: Performance of matching and sorting (n=8): time 0.00108/0.4439, allocations: 1.161 MB / 0.6486 GB, free: 28.47 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4439, allocations: 80.69 kB / 0.6487 GB, free: 28.38 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00569/0.4496, allocations: 6.278 MB / 0.6548 GB, free: 26.77 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.4496, allocations: 46.2 kB / 0.6548 GB, free: 26.74 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.451, allocations: 2.52 MB / 0.6573 GB, free: 24.77 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 5.316e-05/0.4511, allocations: 36.45 kB / 0.6573 GB, free: 24.77 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.4512, allocations: 133.3 kB / 0.6575 GB, free: 24.75 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.4513, allocations: 312.3 kB / 0.6578 GB, free: 24.44 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.4514, allocations: 80.67 kB / 0.6578 GB, free: 24.43 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.4515, allocations: 87.36 kB / 0.6579 GB, free: 24.43 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.4517, allocations: 224.6 kB / 0.6581 GB, free: 24.34 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4517, allocations: 0 / 0.6581 GB, free: 24.34 MB / 458.9 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009011/0.4526, allocations: 1.091 MB / 0.6592 GB, free: 24.25 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.4527, allocations: 40.28 kB / 0.6592 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4527, allocations: 4.344 kB / 0.6592 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4527, allocations: 0 / 0.6592 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.4528, allocations: 5.109 kB / 0.6592 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4528, allocations: 2.406 kB / 0.6592 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.4531, allocations: 20.7 kB / 0.6593 GB, free: 24.21 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.4533, allocations: 225.2 kB / 0.6595 GB, free: 24.18 MB / 458.9 MB 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.001196/0.4545, allocations: 1.336 MB / 0.6608 GB, free: 23.91 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.4548, allocations: 0.5728 MB / 0.6613 GB, free: 23.59 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.4553, allocations: 0.6506 MB / 0.662 GB, free: 23.39 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4553, allocations: 0 / 0.662 GB, free: 23.39 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4553, allocations: 1.844 kB / 0.662 GB, free: 23.39 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4554, allocations: 0 / 0.662 GB, free: 23.39 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.4571, allocations: 2.023 MB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4571, allocations: 1.188 kB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.4571, allocations: 5.828 kB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4571, allocations: 0 / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.4572, allocations: 50.19 kB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4572, allocations: 1.156 kB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4572, allocations: 1.438 kB / 0.664 GB, free: 22.61 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.458, allocations: 1.181 MB / 0.6652 GB, free: 22.13 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/0.4585, allocations: 0.5583 MB / 0.6657 GB, free: 21.73 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.4587, allocations: 19.42 kB / 0.6657 GB, free: 21.73 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.459, allocations: 26.55 kB / 0.6658 GB, free: 21.72 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.459, allocations: 4.344 kB / 0.6658 GB, free: 21.72 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.4591, allocations: 223.8 kB / 0.666 GB, free: 21.69 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.003482/0.4626, allocations: 4.326 MB / 0.6702 GB, free: 20.07 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4626, allocations: 6.438 kB / 0.6702 GB, free: 20.06 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.0003476/0.463, allocations: 188 kB / 0.6704 GB, free: 20.06 MB / 458.9 MB 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.0001325/0.4631, allocations: 145.1 kB / 0.6705 GB, free: 19.97 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.4634, allocations: 283.1 kB / 0.6708 GB, free: 19.86 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4634, allocations: 3.984 kB / 0.6708 GB, free: 19.86 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4636, allocations: 190.4 kB / 0.671 GB, free: 19.77 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.4642, allocations: 442.7 kB / 0.6714 GB, free: 19.49 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.4699, allocations: 9.484 MB / 0.6807 GB, free: 10.45 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.4712, allocations: 2.721 MB / 0.6833 GB, free: 7.703 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.002032/0.4732, allocations: 1.187 MB / 0.6845 GB, free: 6.52 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.4734, allocations: 259.4 kB / 0.6847 GB, free: 6.27 MB / 458.9 MB Notification: Performance of SimCode: time 2.6e-07/0.4734, allocations: 0 / 0.6847 GB, free: 6.27 MB / 458.9 MB Notification: Performance of Templates: time 0.02168/0.4951, allocations: 20.76 MB / 0.705 GB, free: 1.453 MB / 474.9 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches