Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000",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.001088/0.001088, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001149/0.001149, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.169/1.169, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7964/0.7964, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4306, allocations: 80.69 MB / 0.5699 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.002272/0.4329, allocations: 1.57 MB / 0.5714 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.4339, allocations: 0.8896 MB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.434, allocations: 1.281 kB / 0.5723 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.006644/0.4406, allocations: 13.72 MB / 0.5857 GB, free: 33.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.4433, allocations: 6.931 MB / 0.5924 GB, free: 26.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.4436, allocations: 107.6 kB / 0.5925 GB, free: 26.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006675/0.4503, allocations: 17.06 MB / 0.6092 GB, free: 9.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.4504, allocations: 16 kB / 0.6092 GB, free: 9.305 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006081/0.4565, allocations: 8.478 MB / 0.6175 GB, free: 0.8125 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.469, allocations: 16.15 MB / 0.6333 GB, free: 0.6328 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00229/0.4714, allocations: 0.9805 MB / 0.6342 GB, free: 15.65 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.4733, allocations: 1.004 MB / 0.6352 GB, free: 14.64 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.03485/0.5082, allocations: 39.81 MB / 0.6741 GB, free: 6.727 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.02777/0.536, allocations: 22.49 MB / 0.696 GB, free: 12 kB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.03793/0.574, allocations: 48.43 MB / 0.7433 GB, free: 15.32 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.574, allocations: 0 / 0.7433 GB, free: 15.32 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.605e-06/0.574, allocations: 0 / 0.7433 GB, free: 15.32 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.00125/0.5753, allocations: 4 kB / 0.7433 GB, free: 15.32 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.5205/1.096, allocations: 77.14 MB / 0.8187 GB, free: 86.84 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.096, allocations: 14.14 kB / 0.8187 GB, free: 86.82 MB / 0.5923 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/1.096, allocations: 30.75 kB / 0.8187 GB, free: 86.79 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009094/1.105, allocations: 8.798 MB / 0.8273 GB, free: 77.87 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2357/1.341, allocations: 103.1 MB / 0.928 GB, free: 6.207 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/1.341, allocations: 5.297 kB / 0.928 GB, free: 6.203 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/1.341, allocations: 4 kB / 0.928 GB, free: 6.199 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.341, allocations: 48.5 kB / 0.928 GB, free: 6.152 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.341, allocations: 3.938 kB / 0.928 GB, free: 6.148 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/1.341, allocations: 0 / 0.928 GB, free: 6.148 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.341, allocations: 3.984 kB / 0.928 GB, free: 6.145 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/1.341, allocations: 12 kB / 0.928 GB, free: 6.133 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/1.384, allocations: 27.31 MB / 0.9547 GB, free: 10.75 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.384, allocations: 58.55 kB / 0.9548 GB, free: 10.68 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/1.384, allocations: 20.33 kB / 0.9548 GB, free: 10.66 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.384, allocations: 6.719 kB / 0.9548 GB, free: 10.66 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/1.384, allocations: 71.23 kB / 0.9549 GB, free: 10.58 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/1.384, allocations: 0 / 0.9549 GB, free: 10.58 MB / 0.6548 GB Notification: Performance of matching and sorting (n=5): time 0.01372/1.398, allocations: 9.126 MB / 0.9638 GB, free: 1.328 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.398, allocations: 60.86 kB / 0.9638 GB, free: 1.262 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4225/1.821, allocations: 101 MB / 1.062 GB, free: 179 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.821, allocations: 25.7 kB / 1.062 GB, free: 179 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.04824/1.869, allocations: 49.01 MB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/1.869, allocations: 18.56 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/1.869, allocations: 20.47 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 4.582e-05/1.869, allocations: 311.9 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/1.869, allocations: 16.67 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/1.87, allocations: 25.84 kB / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.051e-05/1.87, allocations: 44.92 kB / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.87, allocations: 0 / 1.111 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01334/1.883, allocations: 9.113 MB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.883, allocations: 11.58 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.883, allocations: 0 / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.883, allocations: 0 / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/1.883, allocations: 12.97 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.883, allocations: 2.875 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/1.893, allocations: 257.2 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/1.893, allocations: 2.906 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.02158/1.915, allocations: 18.67 MB / 1.138 GB, free: 132.9 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0131/1.928, allocations: 9.284 MB / 1.147 GB, free: 132.9 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01948/1.947, allocations: 10.23 MB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.947, allocations: 7.75 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.947, allocations: 0 / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.947, allocations: 2.438 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0516/1.999, allocations: 29.99 MB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.999, allocations: 0 / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/1.999, allocations: 7.938 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/1.999, allocations: 0 / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/1.999, allocations: 4 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/1.999, allocations: 3.938 kB / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.999, allocations: 0 / 1.187 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/2.012, allocations: 9.969 MB / 1.196 GB, free: 90.46 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01132/2.023, allocations: 6.927 MB / 1.203 GB, free: 83.4 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007185/2.031, allocations: 255 kB / 1.203 GB, free: 83.15 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007784/2.038, allocations: 251.9 kB / 1.204 GB, free: 82.91 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/2.039, allocations: 7.984 kB / 1.204 GB, free: 82.9 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/2.039, allocations: 4 kB / 1.204 GB, free: 82.89 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.1035/2.142, allocations: 69.98 MB / 1.272 GB, free: 13.56 MB / 0.7173 GB Notification: Performance of sort global known variables: time 5.21e-07/2.142, allocations: 0 / 1.272 GB, free: 13.56 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.01048/2.153, allocations: 2.453 MB / 1.274 GB, free: 11.11 MB / 0.7173 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01171/2.164, allocations: 11.51 MB / 1.286 GB, free: 15.64 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.0001933/2.165, allocations: 46.91 kB / 1.286 GB, free: 15.6 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.165, allocations: 0 / 1.286 GB, free: 15.6 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/2.165, allocations: 20 kB / 1.286 GB, free: 15.58 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03253/2.197, allocations: 6.77 MB / 1.292 GB, free: 8.809 MB / 0.7329 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.211/10.41, allocations: 4.318 GB / 5.61 GB, free: 232.7 MB / 0.9829 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3053/10.71, allocations: 34.39 MB / 5.643 GB, free: 454.9 MB / 0.9829 GB Notification: Performance of simCode: alias equations: time 0.06203/10.78, allocations: 22.77 MB / 5.666 GB, free: 446.7 MB / 0.9829 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05313/10.83, allocations: 45.33 MB / 5.71 GB, free: 408.3 MB / 0.9829 GB Notification: Performance of SimCode: time 1.222e-06/10.83, allocations: 2.656 kB / 5.71 GB, free: 408.3 MB / 0.9829 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.591/13.42, allocations: 1.129 GB / 6.838 GB, free: 127.4 MB / 0.9829 GB Notification: Performance of buildModelFMU: Generate platform static: time 58.11/71.53, allocations: 8.688 kB / 6.838 GB, free: 127.4 MB / 0.9829 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_8000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches