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.001383/0.00139, allocations: 115.4 kB / 17.06 MB, free: 6.004 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.001464/0.001464, allocations: 198.9 kB / 18 MB, free: 5.082 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.516/1.516, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.121/1.121, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.204, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003221/0.2073, allocations: 1.413 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2084, allocations: 0.5613 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.2085, allocations: 4 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.211, allocations: 3.426 MB / 0.655 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.2136, allocations: 3.465 MB / 0.6584 GB, free: 4.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.2141, allocations: 93.97 kB / 0.6585 GB, free: 4.07 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007112/0.2212, allocations: 8.547 MB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.179e-05/0.2213, allocations: 4 kB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006678/0.228, allocations: 4.25 MB / 0.671 GB, free: 7.25 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009445/0.2374, allocations: 8.081 MB / 0.6789 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001742/0.2392, allocations: 0.4922 MB / 0.6793 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.2404, allocations: 0.5624 MB / 0.6799 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02277/0.2632, allocations: 19.91 MB / 0.6993 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02002/0.2832, allocations: 11.24 MB / 0.7103 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03134/0.3146, allocations: 24.75 MB / 0.7345 GB, free: 5.898 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3147, allocations: 0 / 0.7345 GB, free: 5.898 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3147, allocations: 4 kB / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001092/0.3158, allocations: 0 / 0.7345 GB, free: 5.895 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 1.052/1.367, allocations: 38.74 MB / 0.7723 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/1.368, allocations: 9.656 kB / 0.7723 GB, free: 84.43 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008813/1.376, allocations: 4.4 MB / 0.7766 GB, free: 83.64 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1627/1.539, allocations: 51.58 MB / 0.827 GB, free: 45.41 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/1.539, allocations: 3.438 kB / 0.827 GB, free: 45.41 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/1.54, allocations: 128.4 kB / 0.8271 GB, free: 45.28 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.541, allocations: 1.517 MB / 0.8286 GB, free: 43.76 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.541, allocations: 3.188 kB / 0.8286 GB, free: 43.76 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/1.541, allocations: 131.6 kB / 0.8287 GB, free: 43.63 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.541, allocations: 0 / 0.8287 GB, free: 43.63 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/1.542, allocations: 0.875 MB / 0.8296 GB, free: 42.76 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02631/1.569, allocations: 13.84 MB / 0.8431 GB, free: 28.85 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.57, allocations: 0.527 MB / 0.8436 GB, free: 28.32 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/1.571, allocations: 0.5165 MB / 0.8441 GB, free: 27.8 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.571, allocations: 10.53 kB / 0.8441 GB, free: 27.79 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/1.572, allocations: 1.312 MB / 0.8454 GB, free: 26.46 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/1.572, allocations: 0 / 0.8454 GB, free: 26.46 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01172/1.584, allocations: 8.328 MB / 0.8535 GB, free: 18.07 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.584, allocations: 81.11 kB / 0.8536 GB, free: 17.97 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1046/1.689, allocations: 49.58 MB / 0.902 GB, free: 0.8047 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.0008469/1.689, allocations: 153.7 kB / 0.9022 GB, free: 0.6484 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.02934/1.719, allocations: 22.55 MB / 0.9242 GB, free: 10.09 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001525/1.72, allocations: 143.7 kB / 0.9243 GB, free: 9.949 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/1.722, allocations: 0.8767 MB / 0.9252 GB, free: 9.066 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.722, allocations: 311 kB / 0.9255 GB, free: 8.758 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/1.723, allocations: 0.5039 MB / 0.926 GB, free: 8.254 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/1.723, allocations: 0.5039 MB / 0.9265 GB, free: 7.75 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/1.725, allocations: 1.083 MB / 0.9275 GB, free: 6.656 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.725, allocations: 3.625 kB / 0.9275 GB, free: 6.656 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0125/1.738, allocations: 7.82 MB / 0.9352 GB, free: 14.77 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/1.738, allocations: 40.77 kB / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.738, allocations: 3.5 kB / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.738, allocations: 0 / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/1.738, allocations: 6.25 kB / 0.9352 GB, free: 14.72 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.738, allocations: 3.984 kB / 0.9352 GB, free: 14.71 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006649/1.745, allocations: 135.7 kB / 0.9354 GB, free: 14.59 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/1.747, allocations: 1.717 MB / 0.937 GB, free: 12.87 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.01892/1.765, allocations: 9.664 MB / 0.9465 GB, free: 3.184 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01242/1.778, allocations: 4.524 MB / 0.9509 GB, free: 14.6 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.794, allocations: 5.114 MB / 0.9559 GB, free: 9.477 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.795, allocations: 4.906 kB / 0.9559 GB, free: 9.473 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.795, allocations: 0 / 0.9559 GB, free: 9.473 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.795, allocations: 0 / 0.9559 GB, free: 9.473 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/1.829, allocations: 15.08 MB / 0.9706 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.829, allocations: 0 / 0.9706 GB, free: 10.34 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/1.829, allocations: 4 kB / 0.9706 GB, free: 10.33 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/1.829, allocations: 3.938 kB / 0.9706 GB, free: 10.33 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/1.831, allocations: 381.1 kB / 0.971 GB, free: 9.957 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.831, allocations: 0 / 0.971 GB, free: 9.957 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.831, allocations: 0 / 0.971 GB, free: 9.957 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.845, allocations: 8.157 MB / 0.979 GB, free: 1.719 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01464/1.86, allocations: 3.88 MB / 0.9827 GB, free: 13.76 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005264/1.865, allocations: 135.9 kB / 0.9829 GB, free: 13.63 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005436/1.87, allocations: 128.1 kB / 0.983 GB, free: 13.5 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/1.87, allocations: 3.938 kB / 0.983 GB, free: 13.5 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002554/1.873, allocations: 1.715 MB / 0.9847 GB, free: 11.79 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07816/1.951, allocations: 34.49 MB / 1.018 GB, free: 9.602 MB / 0.7642 GB Notification: Performance of sort global known variables: time 2.9e-07/1.951, allocations: 0 / 1.018 GB, free: 9.602 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.007263/1.959, allocations: 1.257 MB / 1.02 GB, free: 8.348 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.0005451/1.959, allocations: 246.5 kB / 1.02 GB, free: 8.102 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.002087/1.961, allocations: 1.242 MB / 1.021 GB, free: 6.848 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.961, allocations: 0 / 1.021 GB, free: 6.848 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.962, allocations: 0.7142 MB / 1.022 GB, free: 6.121 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02136/1.984, allocations: 3.383 MB / 1.025 GB, free: 2.738 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5868/2.571, allocations: 70.56 MB / 1.094 GB, free: 281.3 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04034/2.611, allocations: 17.34 MB / 1.111 GB, free: 276 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.0256/2.637, allocations: 9.423 MB / 1.12 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003284/2.64, allocations: 1.963 MB / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.242e-06/2.64, allocations: 0 / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of Templates: time 0.4371/3.077, allocations: 173.4 MB / 1.291 GB, free: 119.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/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