Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 112.6 kB / 17.69 MB, free: 5.441 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.001203/0.001203, allocations: 191 kB / 18.63 MB, free: 4.508 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.271/1.271, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8529/0.8529, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4517, allocations: 80.7 MB / 0.5712 GB, free: 43.58 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002139/0.4539, allocations: 1.407 MB / 0.5725 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.4547, allocations: 0.5699 MB / 0.5731 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.4547, allocations: 0 / 0.5731 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.4557, allocations: 1.717 MB / 0.5748 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.4568, allocations: 1.764 MB / 0.5765 GB, free: 40.28 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.4571, allocations: 85.17 kB / 0.5766 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.4602, allocations: 4.311 MB / 0.5808 GB, free: 38.13 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.4603, allocations: 2.219 kB / 0.5808 GB, free: 38.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.4635, allocations: 2.145 MB / 0.5829 GB, free: 37.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/0.4667, allocations: 4.053 MB / 0.5868 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000419/0.4671, allocations: 256 kB / 0.5871 GB, free: 33.23 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.4676, allocations: 331.9 kB / 0.5874 GB, free: 32.91 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006296/0.4739, allocations: 9.958 MB / 0.5971 GB, free: 22.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.003698/0.4776, allocations: 5.636 MB / 0.6026 GB, free: 17.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.005701/0.4833, allocations: 12.41 MB / 0.6148 GB, free: 4.758 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4833, allocations: 4 kB / 0.6148 GB, free: 4.754 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4833, allocations: 0 / 0.6148 GB, free: 4.754 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002206/0.4836, allocations: 0 / 0.6148 GB, free: 4.754 MB / 462.3 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.02113/0.5047, allocations: 19.56 MB / 0.6339 GB, free: 0.9648 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5048, allocations: 8.031 kB / 0.6339 GB, free: 0.957 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.507, allocations: 2.202 MB / 0.636 GB, free: 14.72 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04501/0.552, allocations: 25.83 MB / 0.6612 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.552, allocations: 384 / 0.6612 GB, free: 4.703 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5522, allocations: 68.38 kB / 0.6613 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.5531, allocations: 0.7941 MB / 0.6621 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5531, allocations: 0 / 0.6621 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.5532, allocations: 64 kB / 0.6621 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5532, allocations: 0 / 0.6621 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.5538, allocations: 460 kB / 0.6626 GB, free: 3.324 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00956/0.5633, allocations: 6.996 MB / 0.6694 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.5639, allocations: 290.6 kB / 0.6697 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.5644, allocations: 280.9 kB / 0.67 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5644, allocations: 0 / 0.67 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007239/0.5651, allocations: 0.7112 MB / 0.6707 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.5651, allocations: 3.938 kB / 0.6707 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.005125/0.5702, allocations: 4.232 MB / 0.6748 GB, free: 6.699 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.5703, allocations: 81.11 kB / 0.6749 GB, free: 6.602 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03349/0.6038, allocations: 24.83 MB / 0.6991 GB, free: 13.97 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.6042, allocations: 93.7 kB / 0.6992 GB, free: 13.88 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01043/0.6146, allocations: 10.82 MB / 0.7098 GB, free: 3.047 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.6151, allocations: 79.95 kB / 0.7099 GB, free: 2.969 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/0.6156, allocations: 461.7 kB / 0.7103 GB, free: 2.512 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6157, allocations: 309.9 kB / 0.7106 GB, free: 2.203 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.6161, allocations: 272 kB / 0.7108 GB, free: 1.938 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.6165, allocations: 260 kB / 0.7111 GB, free: 1.684 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/0.6174, allocations: 0.5901 MB / 0.7117 GB, free: 1.078 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.6174, allocations: 4 kB / 0.7117 GB, free: 1.074 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.006589/0.624, allocations: 3.974 MB / 0.7156 GB, free: 13.05 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.6241, allocations: 44.45 kB / 0.7156 GB, free: 13.01 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6242, allocations: 0 / 0.7156 GB, free: 13.01 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.366e-05/0.6242, allocations: 144 / 0.7156 GB, free: 13.01 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.6243, allocations: 4 kB / 0.7156 GB, free: 13.01 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6243, allocations: 4 kB / 0.7156 GB, free: 13 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.628, allocations: 67.94 kB / 0.7157 GB, free: 12.94 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007426/0.6287, allocations: 0.8633 MB / 0.7165 GB, free: 12.07 MB / 0.5608 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.006857/0.6356, allocations: 4.909 MB / 0.7213 GB, free: 7.145 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003479/0.6391, allocations: 2.271 MB / 0.7235 GB, free: 4.844 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/0.6439, allocations: 2.557 MB / 0.726 GB, free: 2.277 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.6439, allocations: 96 / 0.726 GB, free: 2.277 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6439, allocations: 3.938 kB / 0.726 GB, free: 2.273 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6439, allocations: 3.938 kB / 0.726 GB, free: 2.27 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.6569, allocations: 7.621 MB / 0.7335 GB, free: 10.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.657, allocations: 0 / 0.7335 GB, free: 10.6 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.657, allocations: 3.938 kB / 0.7335 GB, free: 10.59 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.6571, allocations: 4 kB / 0.7335 GB, free: 10.59 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004111/0.6575, allocations: 195.9 kB / 0.7337 GB, free: 10.4 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6575, allocations: 0 / 0.7337 GB, free: 10.4 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6575, allocations: 0 / 0.7337 GB, free: 10.4 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/0.6635, allocations: 4.166 MB / 0.7377 GB, free: 6.18 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004866/0.6684, allocations: 1.98 MB / 0.7397 GB, free: 4.152 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/0.6703, allocations: 67.98 kB / 0.7397 GB, free: 4.086 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.6725, allocations: 64 kB / 0.7398 GB, free: 4.023 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.6725, allocations: 12 kB / 0.7398 GB, free: 4.012 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006707/0.6732, allocations: 0.8594 MB / 0.7406 GB, free: 3.152 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02784/0.7011, allocations: 17.24 MB / 0.7575 GB, free: 2.059 MB / 0.592 GB Notification: Performance of sort global known variables: time 5e-07/0.7011, allocations: 0 / 0.7575 GB, free: 2.059 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003433/0.7045, allocations: 0.6367 MB / 0.7581 GB, free: 1.422 MB / 0.592 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.0005547/0.7051, allocations: 191.6 kB / 0.7583 GB, free: 1.23 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.7067, allocations: 0.6829 MB / 0.759 GB, free: 0.5352 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7067, allocations: 0 / 0.759 GB, free: 0.5352 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006477/0.7074, allocations: 423.4 kB / 0.7594 GB, free: 112 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4276/1.135, allocations: 1.697 MB / 0.761 GB, free: 166.2 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04205/1.177, allocations: 34.62 MB / 0.7948 GB, free: 149.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008759/1.186, allocations: 8.913 MB / 0.8035 GB, free: 140.4 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.008943/1.195, allocations: 4.695 MB / 0.8081 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.196, allocations: 0.9838 MB / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of SimCode: time 9.22e-07/1.196, allocations: 4 kB / 0.8091 GB, free: 134.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.1675/1.364, allocations: 82.68 MB / 0.8898 GB, free: 51.88 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -s gbode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches