Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001357, allocations: 107 kB / 17.06 MB, free: 6.023 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.001385/0.001385, allocations: 195 kB / 18 MB, free: 5.105 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.511/1.511, allocations: 222.9 MB / 241.7 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 1.239/1.239, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 62.52 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2442, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002866/0.2472, allocations: 1.413 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2485, allocations: 0.5613 MB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.2486, allocations: 0 / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.2513, allocations: 3.43 MB / 0.655 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.2541, allocations: 3.473 MB / 0.6584 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.2545, allocations: 75.8 kB / 0.6585 GB, free: 4.105 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.262, allocations: 8.555 MB / 0.6668 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.2621, allocations: 7.938 kB / 0.6668 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00832/0.2704, allocations: 4.243 MB / 0.671 GB, free: 7.281 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/0.2826, allocations: 8.085 MB / 0.6789 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002621/0.2853, allocations: 0.4961 MB / 0.6793 GB, free: 14.69 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.2871, allocations: 0.5585 MB / 0.6799 GB, free: 14.13 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02297/0.3101, allocations: 19.91 MB / 0.6993 GB, free: 10.17 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02127/0.3314, allocations: 11.25 MB / 0.7103 GB, free: 14.8 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03325/0.3647, allocations: 24.74 MB / 0.7345 GB, free: 5.926 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.3648, allocations: 4 kB / 0.7345 GB, free: 5.922 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3648, allocations: 3.938 kB / 0.7345 GB, free: 5.918 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001398/0.3662, allocations: 0 / 0.7345 GB, free: 5.918 MB / 0.5764 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.9154/1.282, allocations: 38.74 MB / 0.7723 GB, free: 83.98 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 8.231e-05/1.282, allocations: 9.25 kB / 0.7723 GB, free: 83.98 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009529/1.291, allocations: 4.4 MB / 0.7766 GB, free: 83.2 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.144/1.435, allocations: 51.57 MB / 0.827 GB, free: 45.3 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/1.435, allocations: 12.42 kB / 0.827 GB, free: 45.3 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/1.436, allocations: 130.7 kB / 0.8271 GB, free: 45.17 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.437, allocations: 1.52 MB / 0.8286 GB, free: 43.65 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.437, allocations: 0 / 0.8286 GB, free: 43.65 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/1.438, allocations: 127.9 kB / 0.8287 GB, free: 43.52 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.438, allocations: 0 / 0.8287 GB, free: 43.52 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009129/1.438, allocations: 0.875 MB / 0.8296 GB, free: 42.65 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/1.466, allocations: 13.85 MB / 0.8431 GB, free: 28.74 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.468, allocations: 0.5272 MB / 0.8436 GB, free: 28.21 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006686/1.469, allocations: 0.5126 MB / 0.8441 GB, free: 27.69 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/1.469, allocations: 4 kB / 0.8441 GB, free: 27.69 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/1.47, allocations: 1.322 MB / 0.8454 GB, free: 26.36 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.105e-06/1.47, allocations: 0 / 0.8454 GB, free: 26.36 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01176/1.482, allocations: 8.327 MB / 0.8536 GB, free: 17.96 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.482, allocations: 81.11 kB / 0.8536 GB, free: 17.86 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1065/1.588, allocations: 49.58 MB / 0.902 GB, free: 0.6992 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.0008587/1.589, allocations: 153.7 kB / 0.9022 GB, free: 0.543 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.0357/1.625, allocations: 22.55 MB / 0.9242 GB, free: 9.98 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.626, allocations: 143.7 kB / 0.9243 GB, free: 9.844 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004158/1.631, allocations: 0.8788 MB / 0.9252 GB, free: 8.961 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.631, allocations: 314 kB / 0.9255 GB, free: 8.648 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/1.633, allocations: 0.5 MB / 0.926 GB, free: 8.148 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/1.634, allocations: 0.5078 MB / 0.9265 GB, free: 7.641 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.636, allocations: 1.081 MB / 0.9275 GB, free: 6.547 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.636, allocations: 0 / 0.9275 GB, free: 6.547 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01509/1.651, allocations: 7.821 MB / 0.9352 GB, free: 14.66 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/1.651, allocations: 48.44 kB / 0.9352 GB, free: 14.61 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.651, allocations: 0 / 0.9352 GB, free: 14.61 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/1.651, allocations: 0 / 0.9352 GB, free: 14.61 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.652, allocations: 4 kB / 0.9352 GB, free: 14.61 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.652, allocations: 4.625 kB / 0.9352 GB, free: 14.61 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/1.66, allocations: 128 kB / 0.9354 GB, free: 14.48 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003127/1.663, allocations: 1.715 MB / 0.937 GB, free: 12.77 MB / 0.686 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.02343/1.686, allocations: 9.664 MB / 0.9465 GB, free: 3.078 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01274/1.699, allocations: 4.528 MB / 0.9509 GB, free: 14.49 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/1.717, allocations: 5.111 MB / 0.9559 GB, free: 9.367 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.717, allocations: 4 kB / 0.9559 GB, free: 9.363 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.717, allocations: 3.781 kB / 0.9559 GB, free: 9.363 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.717, allocations: 0 / 0.9559 GB, free: 9.363 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04438/1.762, allocations: 15.08 MB / 0.9706 GB, free: 10.23 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.762, allocations: 1.031 kB / 0.9706 GB, free: 10.23 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/1.762, allocations: 4 kB / 0.9706 GB, free: 10.22 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/1.762, allocations: 3.938 kB / 0.9706 GB, free: 10.22 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001754/1.764, allocations: 384 kB / 0.971 GB, free: 9.844 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/1.764, allocations: 0 / 0.971 GB, free: 9.844 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.764, allocations: 0 / 0.971 GB, free: 9.844 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/1.783, allocations: 8.154 MB / 0.979 GB, free: 1.613 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01549/1.799, allocations: 3.876 MB / 0.9827 GB, free: 13.66 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006808/1.806, allocations: 135.9 kB / 0.9829 GB, free: 13.53 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007795/1.813, allocations: 128 kB / 0.983 GB, free: 13.4 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.814, allocations: 3.984 kB / 0.983 GB, free: 13.4 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003802/1.817, allocations: 1.715 MB / 0.9847 GB, free: 11.68 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.08317/1.901, allocations: 34.49 MB / 1.018 GB, free: 9.496 MB / 0.7642 GB Notification: Performance of sort global known variables: time 1.543e-06/1.901, allocations: 0 / 1.018 GB, free: 9.496 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.008264/1.909, allocations: 1.261 MB / 1.02 GB, free: 8.238 MB / 0.7642 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.0006481/1.91, allocations: 246.1 kB / 1.02 GB, free: 7.996 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.001968/1.912, allocations: 1.234 MB / 1.021 GB, free: 6.75 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.912, allocations: 3 kB / 1.021 GB, free: 6.75 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.913, allocations: 0.7181 MB / 1.022 GB, free: 6.023 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02403/1.937, allocations: 3.379 MB / 1.025 GB, free: 2.641 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6955/2.632, allocations: 70.57 MB / 1.094 GB, free: 280.8 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05057/2.683, allocations: 17.34 MB / 1.111 GB, free: 275.7 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.03098/2.714, allocations: 9.426 MB / 1.12 GB, free: 271 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007311/2.722, allocations: 1.961 MB / 1.122 GB, free: 271 MB / 0.8267 GB Notification: Performance of SimCode: time 1.633e-06/2.722, allocations: 4 kB / 1.122 GB, free: 271 MB / 0.8267 GB Notification: Performance of Templates: time 0.4745/3.196, allocations: 173.4 MB / 1.291 GB, free: 119.4 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches