Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 105.9 kB / 17.16 MB, free: 6.082 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.001412/0.001412, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.378/1.378, allocations: 222.9 MB / 241.8 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9117/0.9117, allocations: 119.3 MB / 411.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 59.91 kB / 0.4909 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5138, allocations: 80.68 MB / 0.5697 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002504/0.5164, allocations: 1.476 MB / 0.5711 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.5173, allocations: 0.5921 MB / 0.5717 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.5174, allocations: 5.344 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004098/0.5215, allocations: 6.839 MB / 0.5784 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004403/0.526, allocations: 6.88 MB / 0.5851 GB, free: 34.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.5263, allocations: 63.86 kB / 0.5852 GB, free: 34.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009978/0.5363, allocations: 17.02 MB / 0.6018 GB, free: 17 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.5364, allocations: 4 kB / 0.6018 GB, free: 17 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00927/0.5457, allocations: 8.454 MB / 0.6101 GB, free: 8.531 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01559/0.5613, allocations: 15.17 MB / 0.6249 GB, free: 9.336 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004428/0.5657, allocations: 0.9766 MB / 0.6258 GB, free: 8.359 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.5691, allocations: 1.051 MB / 0.6268 GB, free: 7.309 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.03839/0.6075, allocations: 39.8 MB / 0.6657 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03266/0.6402, allocations: 22.48 MB / 0.6877 GB, free: 8.684 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.03587/0.6761, allocations: 36.19 MB / 0.723 GB, free: 4.395 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.6761, allocations: 0 / 0.723 GB, free: 4.395 MB / 0.5608 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6761, allocations: 0 / 0.723 GB, free: 4.395 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.00175/0.6779, allocations: 0 / 0.723 GB, free: 4.395 MB / 0.5608 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.6465/1.324, allocations: 77.14 MB / 0.7983 GB, free: 85.51 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.324, allocations: 8.031 kB / 0.7983 GB, free: 85.5 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/1.341, allocations: 8.798 MB / 0.8069 GB, free: 76.58 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2752/1.616, allocations: 103.1 MB / 0.9076 GB, free: 4.926 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.616, allocations: 384 / 0.9076 GB, free: 4.926 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001909/1.618, allocations: 252.4 kB / 0.9078 GB, free: 4.68 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/1.622, allocations: 2.972 MB / 0.9107 GB, free: 1.699 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.622, allocations: 0 / 0.9107 GB, free: 1.699 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/1.623, allocations: 255.9 kB / 0.911 GB, free: 1.449 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.623, allocations: 1.031 kB / 0.911 GB, free: 1.449 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/1.625, allocations: 1.733 MB / 0.9127 GB, free: 15.71 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/1.68, allocations: 27.55 MB / 0.9396 GB, free: 4.098 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/1.684, allocations: 1.01 MB / 0.9405 GB, free: 3.078 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/1.688, allocations: 1.008 MB / 0.9415 GB, free: 2.07 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/1.688, allocations: 4 kB / 0.9415 GB, free: 2.066 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006/1.694, allocations: 2.537 MB / 0.944 GB, free: 15.51 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 3.777e-06/1.694, allocations: 0 / 0.944 GB, free: 15.51 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03229/1.727, allocations: 16.5 MB / 0.9601 GB, free: 14.88 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/1.727, allocations: 89.05 kB / 0.9602 GB, free: 14.77 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5394/2.266, allocations: 99.06 MB / 1.057 GB, free: 203.8 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 0.001908/2.268, allocations: 278.8 kB / 1.057 GB, free: 203.7 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.04833/2.317, allocations: 46.97 MB / 1.103 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.001934/2.319, allocations: 269.9 kB / 1.103 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005217/2.324, allocations: 1.731 MB / 1.105 GB, free: 165.5 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/2.324, allocations: 310 kB / 1.105 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/2.326, allocations: 0.997 MB / 1.106 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/2.327, allocations: 0.9903 MB / 1.107 GB, free: 165.2 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/2.33, allocations: 2.056 MB / 1.109 GB, free: 165.1 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/2.33, allocations: 3.844 kB / 1.109 GB, free: 165.1 MB / 0.7485 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02306/2.353, allocations: 15.51 MB / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/2.353, allocations: 40.19 kB / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/2.354, allocations: 0 / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/2.354, allocations: 3.156 kB / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/2.354, allocations: 9.844 kB / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/2.354, allocations: 0 / 1.124 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/2.366, allocations: 256.8 kB / 1.125 GB, free: 165 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006619/2.373, allocations: 3.42 MB / 1.128 GB, free: 164.5 MB / 0.7485 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.02979/2.402, allocations: 19.19 MB / 1.147 GB, free: 161.5 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01715/2.42, allocations: 9.04 MB / 1.156 GB, free: 161.5 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/2.441, allocations: 10.23 MB / 1.166 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/2.441, allocations: 0 / 1.166 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/2.441, allocations: 3.625 kB / 1.166 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/2.441, allocations: 0 / 1.166 GB, free: 157.1 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06196/2.503, allocations: 29.99 MB / 1.195 GB, free: 132.8 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.503, allocations: 0 / 1.195 GB, free: 132.8 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/2.503, allocations: 6.125 kB / 1.195 GB, free: 132.7 MB / 0.7485 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/2.503, allocations: 0.8125 kB / 1.195 GB, free: 132.7 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002326/2.506, allocations: 0.7421 MB / 1.196 GB, free: 132 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/2.506, allocations: 0.875 kB / 1.196 GB, free: 132 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/2.506, allocations: 0 / 1.196 GB, free: 132 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/2.529, allocations: 16.15 MB / 1.211 GB, free: 115.7 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02365/2.553, allocations: 7.661 MB / 1.219 GB, free: 107.9 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01328/2.566, allocations: 255.9 kB / 1.219 GB, free: 107.7 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01345/2.58, allocations: 252 kB / 1.219 GB, free: 107.4 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/2.58, allocations: 7.688 kB / 1.219 GB, free: 107.4 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006448/2.586, allocations: 3.422 MB / 1.223 GB, free: 104 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.1019/2.688, allocations: 68.98 MB / 1.29 GB, free: 35.67 MB / 0.7485 GB Notification: Performance of sort global known variables: time 6.21e-07/2.688, allocations: 0 / 1.29 GB, free: 35.67 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.01151/2.7, allocations: 2.476 MB / 1.293 GB, free: 33.2 MB / 0.7485 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.001174/2.701, allocations: 368.4 kB / 1.293 GB, free: 32.83 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.003226/2.704, allocations: 2.331 MB / 1.295 GB, free: 30.49 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.704, allocations: 3.062 kB / 1.295 GB, free: 30.49 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/2.706, allocations: 1.339 MB / 1.296 GB, free: 29.14 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04756/2.754, allocations: 6.746 MB / 1.303 GB, free: 22.39 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.604/3.358, allocations: 165 MB / 1.464 GB, free: 146.1 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06588/3.424, allocations: 34.38 MB / 1.498 GB, free: 111.7 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006975/3.431, allocations: 3.917 MB / 1.502 GB, free: 107.8 MB / 0.7485 GB Notification: Performance of SimCode: time 2.174e-06/3.431, allocations: 0 / 1.502 GB, free: 107.8 MB / 0.7485 GB Notification: Performance of Templates: time 76.99/80.43, allocations: 23.63 GB / 25.13 GB, free: 186.7 MB / 1.03 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches