Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000",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.001082/0.001082, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.0012/0.0012, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.306/1.306, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9053/0.9053, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8 kB / 0.495 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.485/0.4853, allocations: 82.83 MB / 0.5759 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.001453/0.4868, allocations: 1.286 MB / 0.5772 GB, free: 40.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.4878, allocations: 0.8637 MB / 0.578 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.4879, allocations: 1 kB / 0.578 GB, free: 39.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.4917, allocations: 6.875 MB / 0.5847 GB, free: 36.19 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.4935, allocations: 3.507 MB / 0.5881 GB, free: 33.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.4937, allocations: 83.84 kB / 0.5882 GB, free: 33.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004102/0.4979, allocations: 8.582 MB / 0.5966 GB, free: 25.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.4979, allocations: 7.984 kB / 0.5966 GB, free: 25.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.5006, allocations: 4.258 MB / 0.6008 GB, free: 20.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004063/0.5047, allocations: 7.612 MB / 0.6082 GB, free: 13.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0008126/0.5055, allocations: 0.4922 MB / 0.6087 GB, free: 12.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007831/0.5063, allocations: 0.5117 MB / 0.6092 GB, free: 12.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01355/0.5199, allocations: 19.92 MB / 0.6286 GB, free: 8.152 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.5317, allocations: 11.29 MB / 0.6397 GB, free: 12.74 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/0.5515, allocations: 23.64 MB / 0.6627 GB, free: 4.961 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5516, allocations: 0 / 0.6627 GB, free: 4.961 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5516, allocations: 0 / 0.6627 GB, free: 4.961 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.0005013/0.5521, allocations: 0 / 0.6627 GB, free: 4.961 MB / 0.4983 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.04025/0.5924, allocations: 34.11 MB / 0.6961 GB, free: 2.508 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.5925, allocations: 12.03 kB / 0.6961 GB, free: 2.496 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.5925, allocations: 30.75 kB / 0.6961 GB, free: 2.457 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/0.5995, allocations: 4.403 MB / 0.7004 GB, free: 13.99 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08258/0.6821, allocations: 51.59 MB / 0.7508 GB, free: 10.05 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.6822, allocations: 8.297 kB / 0.7508 GB, free: 10.05 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.6822, allocations: 7.938 kB / 0.7508 GB, free: 10.04 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6823, allocations: 45.69 kB / 0.7508 GB, free: 9.988 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6824, allocations: 15.92 kB / 0.7509 GB, free: 9.973 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6824, allocations: 3.984 kB / 0.7509 GB, free: 9.969 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6824, allocations: 0 / 0.7509 GB, free: 9.969 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.6825, allocations: 15.94 kB / 0.7509 GB, free: 9.953 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.45/1.132, allocations: 13.74 MB / 0.7643 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.133, allocations: 52.44 kB / 0.7643 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/1.133, allocations: 22.47 kB / 0.7644 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.133, allocations: 0.7188 kB / 0.7644 GB, free: 129.1 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/1.133, allocations: 68.72 kB / 0.7644 GB, free: 129 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.415e-06/1.133, allocations: 0 / 0.7644 GB, free: 129 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.007091/1.14, allocations: 4.608 MB / 0.7689 GB, free: 129 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.14, allocations: 55.06 kB / 0.769 GB, free: 128.9 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06065/1.201, allocations: 50.58 MB / 0.8184 GB, free: 98.66 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/1.201, allocations: 25.7 kB / 0.8184 GB, free: 98.63 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01641/1.217, allocations: 23.58 MB / 0.8414 GB, free: 75.04 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/1.217, allocations: 11.11 kB / 0.8414 GB, free: 75.04 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/1.217, allocations: 17.72 kB / 0.8414 GB, free: 75.02 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.837e-05/1.217, allocations: 310 kB / 0.8417 GB, free: 74.71 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/1.218, allocations: 15.94 kB / 0.8418 GB, free: 74.7 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.127e-05/1.218, allocations: 25.7 kB / 0.8418 GB, free: 74.66 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/1.218, allocations: 52.27 kB / 0.8418 GB, free: 74.61 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.218, allocations: 0 / 0.8418 GB, free: 74.61 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.005503/1.223, allocations: 4.596 MB / 0.8463 GB, free: 72.45 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.223, allocations: 8 kB / 0.8463 GB, free: 72.44 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.223, allocations: 0 / 0.8463 GB, free: 72.44 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.223, allocations: 0 / 0.8463 GB, free: 72.44 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/1.223, allocations: 11.98 kB / 0.8463 GB, free: 72.43 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.223, allocations: 0 / 0.8463 GB, free: 72.43 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.229, allocations: 135.9 kB / 0.8465 GB, free: 72.3 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/1.23, allocations: 7.156 kB / 0.8465 GB, free: 72.29 MB / 0.5923 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.01067/1.24, allocations: 9.394 MB / 0.8556 GB, free: 62.88 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005484/1.246, allocations: 4.644 MB / 0.8602 GB, free: 58.18 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/1.254, allocations: 5.126 MB / 0.8652 GB, free: 53.05 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.254, allocations: 0 / 0.8652 GB, free: 53.05 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.254, allocations: 1 kB / 0.8652 GB, free: 53.05 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.254, allocations: 7.938 kB / 0.8652 GB, free: 53.04 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/1.279, allocations: 15.07 MB / 0.8799 GB, free: 37.89 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.279, allocations: 0 / 0.8799 GB, free: 37.89 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.775e-05/1.279, allocations: 7.938 kB / 0.8799 GB, free: 37.89 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.279, allocations: 0 / 0.8799 GB, free: 37.89 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/1.279, allocations: 4 kB / 0.8799 GB, free: 37.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.279, allocations: 4.859 kB / 0.8799 GB, free: 37.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.279, allocations: 5.578 kB / 0.8799 GB, free: 37.88 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/1.285, allocations: 5.031 MB / 0.8849 GB, free: 32.77 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005309/1.29, allocations: 3.879 MB / 0.8886 GB, free: 28.82 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003272/1.293, allocations: 128.4 kB / 0.8888 GB, free: 28.69 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.297, allocations: 128 kB / 0.8889 GB, free: 28.57 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/1.297, allocations: 11.94 kB / 0.8889 GB, free: 28.55 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/1.297, allocations: 7 kB / 0.8889 GB, free: 28.55 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.04487/1.342, allocations: 35.01 MB / 0.9231 GB, free: 9.848 MB / 0.6079 GB Notification: Performance of sort global known variables: time 7.01e-07/1.342, allocations: 0 / 0.9231 GB, free: 9.848 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.004596/1.346, allocations: 1.242 MB / 0.9243 GB, free: 8.609 MB / 0.6079 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.006924/1.353, allocations: 6.205 MB / 0.9304 GB, free: 2.5 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0001564/1.353, allocations: 43.92 kB / 0.9304 GB, free: 2.457 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.353, allocations: 0 / 0.9304 GB, free: 2.457 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/1.353, allocations: 20 kB / 0.9304 GB, free: 2.438 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/1.365, allocations: 3.409 MB / 0.9338 GB, free: 15.04 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.729/7.094, allocations: 1.207 GB / 2.141 GB, free: 342.4 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02878/7.122, allocations: 17.34 MB / 2.158 GB, free: 325 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.03354/7.156, allocations: 11.29 MB / 2.169 GB, free: 314.3 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02387/7.18, allocations: 21.7 MB / 2.19 GB, free: 292.6 MB / 0.8423 GB Notification: Performance of SimCode: time 1.924e-06/7.18, allocations: 1.594 kB / 2.19 GB, free: 292.6 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/8.389, allocations: 0.5517 GB / 2.741 GB, free: 230.6 MB / 0.8423 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/8.389, allocations: 282.8 kB / 2.742 GB, free: 230.2 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.64/31.03, allocations: 0 / 2.742 GB, free: 230.2 MB / 0.8423 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches