Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 85.84 kB / 16.31 MB, free: 6.008 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.001072/0.001072, allocations: 183.1 kB / 17.21 MB, free: 5.902 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.498/1.498, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9541/0.9541, allocations: 120.5 MB / 412.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003851, allocations: 8 kB / 0.4943 GB, free: 9.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 82.85 MB / 0.5752 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.001685/0.2079, allocations: 1.114 MB / 0.5763 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.2088, allocations: 0.5342 MB / 0.5768 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.2089, allocations: 3.938 kB / 0.5768 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.9106/1.12, allocations: 15.14 MB / 0.5916 GB, free: 11.68 MB / 446.5 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/1.138, allocations: 15.18 MB / 0.6064 GB, free: 5.293 MB / 446.5 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/1.138, allocations: 57.73 kB / 0.6064 GB, free: 5.27 MB / 446.5 MB Notification: Performance of NFFlatten.flatten: time 0.03864/1.177, allocations: 28.86 MB / 0.6346 GB, free: 8.844 MB / 478.5 MB Notification: Performance of NFFlatten.resolveConnections: time 8.716e-05/1.177, allocations: 4.781 kB / 0.6346 GB, free: 8.84 MB / 478.5 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03327/1.21, allocations: 17.61 MB / 0.6518 GB, free: 7.215 MB / 494.5 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05484/1.265, allocations: 32.5 MB / 0.6836 GB, free: 6.688 MB / 0.5142 GB Notification: Performance of NFPackage.collectConstants: time 0.01399/1.279, allocations: 1.953 MB / 0.6855 GB, free: 4.734 MB / 0.5142 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01408/1.293, allocations: 2.022 MB / 0.6875 GB, free: 2.715 MB / 0.5142 GB Notification: Performance of NFScalarize.scalarize: time 0.09465/1.388, allocations: 79.6 MB / 0.7652 GB, free: 3.727 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.03163/1.42, allocations: 15.65 MB / 0.7805 GB, free: 3.969 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.896/2.316, allocations: 71.83 MB / 0.8506 GB, free: 93.42 MB / 0.6553 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/2.316, allocations: 0.5 kB / 0.8506 GB, free: 93.42 MB / 0.6553 GB Notification: Performance of FrontEnd: time 4.248e-06/2.316, allocations: 0.5938 kB / 0.8506 GB, free: 93.42 MB / 0.6553 GB Notification: Performance of Transformations before backend: time 0.006805/2.323, allocations: 1.531 kB / 0.8506 GB, free: 93.42 MB / 0.6553 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.2355/2.558, allocations: 137.3 MB / 0.9847 GB, free: 5.004 MB / 0.6553 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/2.558, allocations: 8.875 kB / 0.9847 GB, free: 5.004 MB / 0.6553 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03352/2.592, allocations: 17.59 MB / 1.002 GB, free: 4.543 MB / 0.6709 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.503/4.095, allocations: 196.2 MB / 1.194 GB, free: 192.2 MB / 0.7959 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/4.095, allocations: 3.25 kB / 1.194 GB, free: 192.2 MB / 0.7959 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009922/4.105, allocations: 0.4902 MB / 1.194 GB, free: 192.2 MB / 0.7959 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03387/4.139, allocations: 5.906 MB / 1.2 GB, free: 190.6 MB / 0.7959 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/4.139, allocations: 0 / 1.2 GB, free: 190.6 MB / 0.7959 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005705/4.145, allocations: 0.4891 MB / 1.2 GB, free: 190.6 MB / 0.7959 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/4.145, allocations: 5.719 kB / 1.2 GB, free: 190.6 MB / 0.7959 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02234/4.167, allocations: 3.437 MB / 1.204 GB, free: 190.6 MB / 0.7959 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1424/4.309, allocations: 54.94 MB / 1.257 GB, free: 159.5 MB / 0.7959 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/4.325, allocations: 1.997 MB / 1.259 GB, free: 159.5 MB / 0.7959 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01454/4.339, allocations: 1.976 MB / 1.261 GB, free: 159.5 MB / 0.7959 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/4.339, allocations: 3.562 kB / 1.261 GB, free: 159.5 MB / 0.7959 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02297/4.362, allocations: 4.985 MB / 1.266 GB, free: 156.8 MB / 0.7959 GB Notification: Performance of pre-optimization done (n=8): time 5.891e-06/4.362, allocations: 2 kB / 1.266 GB, free: 156.8 MB / 0.7959 GB Notification: Performance of matching and sorting (n=8): time 0.1417/4.504, allocations: 32.86 MB / 1.298 GB, free: 123.8 MB / 0.7959 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/4.504, allocations: 81.11 kB / 1.298 GB, free: 123.8 MB / 0.7959 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.971/5.475, allocations: 197.5 MB / 1.491 GB, free: 154 MB / 0.8272 GB Notification: Performance of collectPreVariables (initialization): time 0.005188/5.48, allocations: 0.5193 MB / 1.492 GB, free: 153.9 MB / 0.8272 GB Notification: Performance of collectInitialEqns (initialization): time 0.1238/5.604, allocations: 97.76 MB / 1.587 GB, free: 73.75 MB / 0.8272 GB Notification: Performance of collectInitialBindings (initialization): time 0.006251/5.61, allocations: 0.5002 MB / 1.588 GB, free: 73.75 MB / 0.8272 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005187/5.616, allocations: 0.493 MB / 1.588 GB, free: 73.75 MB / 0.8272 GB Notification: Performance of setup shared object (initialization): time 7.35e-05/5.616, allocations: 318.3 kB / 1.588 GB, free: 73.44 MB / 0.8272 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01221/5.628, allocations: 1.966 MB / 1.59 GB, free: 73.44 MB / 0.8272 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/5.64, allocations: 1.972 MB / 1.592 GB, free: 73.43 MB / 0.8272 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/5.654, allocations: 2.007 MB / 1.594 GB, free: 73.39 MB / 0.8272 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/5.654, allocations: 0 / 1.594 GB, free: 73.39 MB / 0.8272 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.1081/5.762, allocations: 30.88 MB / 1.624 GB, free: 70.84 MB / 0.8272 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/5.762, allocations: 34.61 kB / 1.624 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/5.762, allocations: 7.578 kB / 1.624 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/5.762, allocations: 0 / 1.624 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/5.763, allocations: 3.375 kB / 1.624 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/5.763, allocations: 7.609 kB / 1.624 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04509/5.808, allocations: 0.4985 MB / 1.625 GB, free: 70.8 MB / 0.8272 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.03143/5.839, allocations: 6.842 MB / 1.632 GB, free: 69.82 MB / 0.8272 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1133/5.953, allocations: 38.23 MB / 1.669 GB, free: 65.77 MB / 0.8272 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.05033/6.003, allocations: 18.08 MB / 1.687 GB, free: 55.76 MB / 0.8272 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06407/6.067, allocations: 20.44 MB / 1.706 GB, free: 49.64 MB / 0.8272 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/6.067, allocations: 4 kB / 1.706 GB, free: 49.64 MB / 0.8272 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/6.067, allocations: 0 / 1.706 GB, free: 49.64 MB / 0.8272 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/6.067, allocations: 3.953 kB / 1.706 GB, free: 49.64 MB / 0.8272 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2201/6.287, allocations: 59.83 MB / 1.765 GB, free: 6.504 MB / 0.8428 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/6.287, allocations: 2 kB / 1.765 GB, free: 6.504 MB / 0.8428 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/6.287, allocations: 4 kB / 1.765 GB, free: 6.5 MB / 0.8428 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/6.287, allocations: 0 / 1.765 GB, free: 6.5 MB / 0.8428 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008656/6.296, allocations: 1.473 MB / 1.766 GB, free: 5.031 MB / 0.8428 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/6.296, allocations: 3.938 kB / 1.766 GB, free: 5.027 MB / 0.8428 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/6.296, allocations: 2 kB / 1.766 GB, free: 5.027 MB / 0.8428 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8037/7.1, allocations: 32.1 MB / 1.798 GB, free: 255.8 MB / 0.8428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05986/7.16, allocations: 15.23 MB / 1.813 GB, free: 245.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04006/7.2, allocations: 0.4919 MB / 1.813 GB, free: 245.7 MB / 0.8428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0408/7.241, allocations: 0.4937 MB / 1.814 GB, free: 245.7 MB / 0.8428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/7.241, allocations: 9.188 kB / 1.814 GB, free: 245.7 MB / 0.8428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.02899/7.27, allocations: 6.843 MB / 1.82 GB, free: 245.5 MB / 0.8428 GB Notification: Performance of sorting global known variables: time 0.3955/7.665, allocations: 137.4 MB / 1.954 GB, free: 163.3 MB / 0.8428 GB Notification: Performance of sort global known variables: time 7.62e-07/7.665, allocations: 0 / 1.954 GB, free: 163.3 MB / 0.8428 GB Notification: Performance of remove unused functions: time 0.03903/7.704, allocations: 4.919 MB / 1.959 GB, free: 158.4 MB / 0.8428 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006793/7.711, allocations: 0.6099 MB / 1.96 GB, free: 157.8 MB / 0.8428 GB Notification: Performance of simCode: created initialization part: time 0.03495/7.746, allocations: 4.53 MB / 1.964 GB, free: 153.2 MB / 0.8428 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/7.746, allocations: 0 / 1.964 GB, free: 153.2 MB / 0.8428 GB Notification: Performance of simCode: created simulation system equations: time 0.02206/7.768, allocations: 2.548 MB / 1.967 GB, free: 150.7 MB / 0.8428 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09986/7.868, allocations: 13.49 MB / 1.98 GB, free: 137.2 MB / 0.8428 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.195/9.063, allocations: 311.2 MB / 2.284 GB, free: 140.2 MB / 0.8428 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1678/9.231, allocations: 68.46 MB / 2.351 GB, free: 74.34 MB / 0.8428 GB Notification: Performance of simCode: alias equations: time 0.1294/9.36, allocations: 37.44 MB / 2.387 GB, free: 38.95 MB / 0.8428 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01913/9.38, allocations: 7.824 MB / 2.395 GB, free: 31.12 MB / 0.8428 GB Notification: Performance of SimCode: time 2.004e-06/9.38, allocations: 0 / 2.395 GB, free: 31.12 MB / 0.8428 GB Notification: Performance of Templates: time 2.832/12.21, allocations: 0.6645 GB / 3.059 GB, free: 69.76 MB / 0.9209 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches