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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 108.3 kB / 16.92 MB, free: 5.781 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.001228/0.001228, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.166/1.166, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8893/0.8893, allocations: 119.3 MB / 411 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.91 kB / 0.491 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4102, allocations: 80.68 MB / 0.5698 GB, free: 43.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.00194/0.4122, allocations: 1.403 MB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006672/0.4129, allocations: 0.5704 MB / 0.5718 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.4129, allocations: 7.875 kB / 0.5718 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006016/0.4189, allocations: 13.68 MB / 0.5851 GB, free: 33.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.4232, allocations: 13.73 MB / 0.5985 GB, free: 20.21 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.4235, allocations: 79.73 kB / 0.5986 GB, free: 20.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01616/0.4397, allocations: 34.01 MB / 0.6318 GB, free: 2.074 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.4398, allocations: 8 kB / 0.6318 GB, free: 2.066 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01641/0.4562, allocations: 16.88 MB / 0.6483 GB, free: 1.152 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02683/0.483, allocations: 32.26 MB / 0.6798 GB, free: 0.8477 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.006334/0.4894, allocations: 1.953 MB / 0.6817 GB, free: 14.89 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/0.4949, allocations: 2.023 MB / 0.6837 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.4825/0.9774, allocations: 79.61 MB / 0.7614 GB, free: 75.96 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.04591/1.023, allocations: 44.94 MB / 0.8053 GB, free: 40.84 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.07434/1.098, allocations: 96.76 MB / 0.8998 GB, free: 3.688 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.098, allocations: 0 / 0.8998 GB, free: 3.688 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.014e-06/1.098, allocations: 0 / 0.8998 GB, free: 3.688 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.004706/1.102, allocations: 0 / 0.8998 GB, free: 3.688 MB / 0.6079 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.7192/1.822, allocations: 153.9 MB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.822, allocations: 13.81 kB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/1.822, allocations: 32.98 kB / 1.05 GB, free: 159.9 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/1.843, allocations: 17.59 MB / 1.067 GB, free: 152.3 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4661/2.309, allocations: 206 MB / 1.268 GB, free: 14.15 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/2.309, allocations: 4.375 kB / 1.269 GB, free: 14.15 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/2.311, allocations: 0.4886 MB / 1.269 GB, free: 13.66 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/2.317, allocations: 5.914 MB / 1.275 GB, free: 7.734 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/2.317, allocations: 3.938 kB / 1.275 GB, free: 7.73 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008659/2.317, allocations: 500 kB / 1.275 GB, free: 7.242 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/2.317, allocations: 0 / 1.275 GB, free: 7.242 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/2.322, allocations: 3.434 MB / 1.279 GB, free: 3.809 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08997/2.412, allocations: 54.94 MB / 1.332 GB, free: 12.76 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00575/2.417, allocations: 1.995 MB / 1.334 GB, free: 10.75 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/2.42, allocations: 1.977 MB / 1.336 GB, free: 8.777 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/2.42, allocations: 4 kB / 1.336 GB, free: 8.773 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004595/2.425, allocations: 4.984 MB / 1.341 GB, free: 3.766 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/2.425, allocations: 3.188 kB / 1.341 GB, free: 3.766 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.04269/2.468, allocations: 32.85 MB / 1.373 GB, free: 2.664 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/2.468, allocations: 81.11 kB / 1.373 GB, free: 2.566 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5332/3.001, allocations: 198 MB / 1.567 GB, free: 176.5 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.00278/3.004, allocations: 0.5134 MB / 1.567 GB, free: 176 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.08815/3.092, allocations: 97.77 MB / 1.663 GB, free: 78.22 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.003207/3.095, allocations: 0.4998 MB / 1.663 GB, free: 77.73 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009471/3.105, allocations: 3.443 MB / 1.666 GB, free: 74.28 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/3.105, allocations: 314 kB / 1.667 GB, free: 73.97 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002794/3.107, allocations: 1.971 MB / 1.669 GB, free: 72 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/3.11, allocations: 1.977 MB / 1.671 GB, free: 70.03 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005403/3.115, allocations: 3.998 MB / 1.674 GB, free: 66.02 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/3.115, allocations: 0 / 1.674 GB, free: 66.02 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.03247/3.148, allocations: 30.9 MB / 1.705 GB, free: 44.88 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/3.148, allocations: 39.06 kB / 1.705 GB, free: 44.84 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/3.148, allocations: 4 kB / 1.705 GB, free: 44.84 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/3.148, allocations: 0 / 1.705 GB, free: 44.84 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.228e-05/3.148, allocations: 7.984 kB / 1.705 GB, free: 44.83 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/3.148, allocations: 0 / 1.705 GB, free: 44.83 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01883/3.167, allocations: 0.4932 MB / 1.705 GB, free: 44.34 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009572/3.176, allocations: 6.836 MB / 1.712 GB, free: 37.5 MB / 0.874 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.3133/3.49, allocations: 38.24 MB / 1.749 GB, free: 183.9 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01823/3.508, allocations: 18.08 MB / 1.767 GB, free: 183.9 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03353/3.541, allocations: 20.44 MB / 1.787 GB, free: 182 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/3.541, allocations: 0 / 1.787 GB, free: 182 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/3.541, allocations: 2.125 kB / 1.787 GB, free: 182 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/3.542, allocations: 0 / 1.787 GB, free: 182 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1017/3.643, allocations: 59.83 MB / 1.845 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/3.643, allocations: 4.125 kB / 1.845 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/3.643, allocations: 2.016 kB / 1.845 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/3.643, allocations: 10.03 kB / 1.845 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003454/3.647, allocations: 1.471 MB / 1.847 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/3.647, allocations: 0 / 1.847 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/3.647, allocations: 5.625 kB / 1.847 GB, free: 178.3 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04426/3.691, allocations: 32.1 MB / 1.878 GB, free: 177.1 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02789/3.719, allocations: 15.23 MB / 1.893 GB, free: 167 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01215/3.731, allocations: 0.4938 MB / 1.893 GB, free: 167 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01432/3.745, allocations: 0.4902 MB / 1.894 GB, free: 167 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/3.746, allocations: 13.23 kB / 1.894 GB, free: 167 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005012/3.751, allocations: 6.836 MB / 1.901 GB, free: 167 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.1948/3.945, allocations: 137.9 MB / 2.035 GB, free: 63.43 MB / 0.874 GB Notification: Performance of sort global known variables: time 4.41e-07/3.945, allocations: 0 / 2.035 GB, free: 63.43 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.01486/3.96, allocations: 4.917 MB / 2.04 GB, free: 58.52 MB / 0.874 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.02951/3.99, allocations: 34.54 MB / 2.074 GB, free: 23.76 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.006439/3.996, allocations: 4.528 MB / 2.078 GB, free: 19.25 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/3.996, allocations: 0 / 2.078 GB, free: 19.25 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.003382/4, allocations: 2.55 MB / 2.081 GB, free: 16.72 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05349/4.053, allocations: 13.49 MB / 2.094 GB, free: 11.04 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 31.46/35.51, allocations: 16.28 GB / 18.38 GB, free: 414.8 MB / 1.202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1121/35.63, allocations: 68.46 MB / 18.44 GB, free: 346.2 MB / 1.202 GB Notification: Performance of simCode: alias equations: time 0.1052/35.73, allocations: 37.29 MB / 18.48 GB, free: 310.9 MB / 1.202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4352/36.17, allocations: 85.75 MB / 18.56 GB, free: 485 MB / 1.202 GB Notification: Performance of SimCode: time 1.433e-06/36.17, allocations: 3.844 kB / 18.56 GB, free: 485 MB / 1.202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.368/42.54, allocations: 2.457 GB / 21.02 GB, free: 175 MB / 1.28 GB Notification: Performance of buildModelFMU: Generate platform static: time 156.9/199.4, allocations: 9.5 kB / 21.02 GB, free: 175 MB / 1.28 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_16000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches