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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 190.9 kB / 16.62 MB, free: 5.141 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.3471/0.3471, allocations: 225.7 MB / 243 MB, free: 4.09 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.0008677/0.0008675, allocations: 105.4 kB / 293.2 MB, free: 11.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.4053/0.4053, allocations: 119.4 MB / 462.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008547/0.0008547, allocations: 51.92 kB / 0.5413 GB, free: 10.64 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1027, allocations: 80.7 MB / 0.6201 GB, free: 9.809 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001799/0.1045, allocations: 1.462 MB / 0.6215 GB, free: 8.332 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.1052, allocations: 0.5961 MB / 0.6221 GB, free: 7.73 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.1053, allocations: 4 kB / 0.6221 GB, free: 7.727 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008535/0.1061, allocations: 1.715 MB / 0.6238 GB, free: 6.008 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.1071, allocations: 1.75 MB / 0.6255 GB, free: 4.254 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1073, allocations: 75.86 kB / 0.6256 GB, free: 4.18 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.1095, allocations: 4.303 MB / 0.6298 GB, free: 15.87 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.1095, allocations: 7.984 kB / 0.6298 GB, free: 15.86 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1107, allocations: 2.141 MB / 0.6319 GB, free: 13.72 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.1129, allocations: 4.06 MB / 0.6358 GB, free: 9.652 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.1132, allocations: 256 kB / 0.6361 GB, free: 9.402 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.1136, allocations: 315.9 kB / 0.6364 GB, free: 9.094 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3937/0.5073, allocations: 9.957 MB / 0.6461 GB, free: 20.79 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.003595/0.5109, allocations: 5.638 MB / 0.6516 GB, free: 16.85 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.007685/0.5186, allocations: 12.17 MB / 0.6635 GB, free: 11.37 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5187, allocations: 0 / 0.6635 GB, free: 11.37 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5187, allocations: 4.875 kB / 0.6635 GB, free: 11.37 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.0003378/0.519, allocations: 0 / 0.6635 GB, free: 11.37 MB / 458.9 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.0217/0.5407, allocations: 19.56 MB / 0.6826 GB, free: 14.32 MB / 474.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5408, allocations: 9.031 kB / 0.6826 GB, free: 14.32 MB / 474.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002239/0.543, allocations: 2.202 MB / 0.6848 GB, free: 13.07 MB / 474.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03069/0.5737, allocations: 25.83 MB / 0.71 GB, free: 10.15 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.5737, allocations: 384 / 0.71 GB, free: 10.15 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.5739, allocations: 68.94 kB / 0.7101 GB, free: 10.08 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.5746, allocations: 0.7753 MB / 0.7108 GB, free: 9.301 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.5746, allocations: 3.938 kB / 0.7108 GB, free: 9.297 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5747, allocations: 68 kB / 0.7109 GB, free: 9.23 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5748, allocations: 0 / 0.7109 GB, free: 9.23 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.5752, allocations: 459.7 kB / 0.7113 GB, free: 8.785 MB / 490.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00617/0.5814, allocations: 7.003 MB / 0.7182 GB, free: 1.734 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.5818, allocations: 286.6 kB / 0.7184 GB, free: 1.445 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.5821, allocations: 276.9 kB / 0.7187 GB, free: 1.172 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.5821, allocations: 0 / 0.7187 GB, free: 1.172 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006357/0.5828, allocations: 0.7132 MB / 0.7194 GB, free: 452 kB / 490.9 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.5828, allocations: 4 kB / 0.7194 GB, free: 448 kB / 490.9 MB Notification: Performance of matching and sorting (n=8): time 0.003728/0.5865, allocations: 4.226 MB / 0.7235 GB, free: 12.18 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.5866, allocations: 89.09 kB / 0.7236 GB, free: 12.07 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02262/0.6092, allocations: 24.83 MB / 0.7479 GB, free: 3.445 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.6094, allocations: 89.7 kB / 0.7479 GB, free: 3.352 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.007351/0.6168, allocations: 10.83 MB / 0.7585 GB, free: 8.516 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6169, allocations: 79.8 kB / 0.7586 GB, free: 8.438 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.6174, allocations: 457.7 kB / 0.759 GB, free: 7.984 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.6174, allocations: 314 kB / 0.7593 GB, free: 7.672 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.6178, allocations: 265.1 kB / 0.7596 GB, free: 7.414 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.6181, allocations: 268 kB / 0.7598 GB, free: 7.156 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.6189, allocations: 0.5878 MB / 0.7604 GB, free: 6.555 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6189, allocations: 4.5 kB / 0.7604 GB, free: 6.551 MB / 0.5263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003674/0.6226, allocations: 3.974 MB / 0.7643 GB, free: 2.539 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.6226, allocations: 37.64 kB / 0.7643 GB, free: 2.496 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.6226, allocations: 0 / 0.7643 GB, free: 2.496 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6226, allocations: 4 kB / 0.7643 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.6227, allocations: 7 kB / 0.7643 GB, free: 2.488 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.6227, allocations: 3.984 kB / 0.7644 GB, free: 2.484 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.6239, allocations: 64.69 kB / 0.7644 GB, free: 2.422 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.6245, allocations: 0.8555 MB / 0.7652 GB, free: 1.566 MB / 0.5263 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.005288/0.6297, allocations: 4.907 MB / 0.77 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.6311, allocations: 2.275 MB / 0.7723 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.6332, allocations: 2.56 MB / 0.7748 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6332, allocations: 3.844 kB / 0.7748 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6332, allocations: 0 / 0.7748 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6332, allocations: 0 / 0.7748 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/0.6391, allocations: 7.627 MB / 0.7822 GB, free: 92 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6391, allocations: 0 / 0.7822 GB, free: 92 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.6392, allocations: 4 kB / 0.7822 GB, free: 88 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6392, allocations: 5.016 kB / 0.7822 GB, free: 84 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001878/0.6394, allocations: 191 kB / 0.7824 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6394, allocations: 0 / 0.7824 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6394, allocations: 7.938 kB / 0.7824 GB, free: 15.89 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.6426, allocations: 4.158 MB / 0.7865 GB, free: 11.68 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.6445, allocations: 1.987 MB / 0.7884 GB, free: 9.645 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007666/0.6453, allocations: 67 kB / 0.7885 GB, free: 9.582 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6463, allocations: 64 kB / 0.7885 GB, free: 9.52 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.6464, allocations: 4 kB / 0.7885 GB, free: 9.516 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005252/0.6469, allocations: 0.8594 MB / 0.7894 GB, free: 8.656 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01763/0.6645, allocations: 17.25 MB / 0.8062 GB, free: 7.562 MB / 0.5731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6646, allocations: 0 / 0.8062 GB, free: 7.562 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.00144/0.666, allocations: 0.6406 MB / 0.8068 GB, free: 6.922 MB / 0.5731 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.0002326/0.6662, allocations: 187.2 kB / 0.807 GB, free: 6.738 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.0008802/0.6671, allocations: 0.686 MB / 0.8077 GB, free: 6.043 MB / 0.5731 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6671, allocations: 2.719 kB / 0.8077 GB, free: 6.043 MB / 0.5731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.6676, allocations: 423.4 kB / 0.8081 GB, free: 5.617 MB / 0.5731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.6705, allocations: 1.695 MB / 0.8098 GB, free: 3.922 MB / 0.5731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0363/0.7068, allocations: 39.02 MB / 0.8479 GB, free: 13.09 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007509/0.7143, allocations: 8.917 MB / 0.8566 GB, free: 4.133 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.009406/0.7237, allocations: 4.705 MB / 0.8612 GB, free: 15.43 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/0.7246, allocations: 0.9877 MB / 0.8621 GB, free: 14.44 MB / 0.6356 GB Notification: Performance of SimCode: time 6.41e-07/0.7246, allocations: 0 / 0.8621 GB, free: 14.44 MB / 0.6356 GB Notification: Performance of Templates: time 0.5012/1.226, allocations: 82.74 MB / 0.9429 GB, free: 175.1 MB / 0.6515 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 -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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches