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.001135/0.001135, allocations: 109.5 kB / 16.51 MB, free: 6.715 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.001018/0.001018, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.442/1.442, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.121/1.121, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 55.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5937, allocations: 80.69 MB / 0.5691 GB, free: 43.59 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003884/0.5976, allocations: 1.626 MB / 0.5707 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.5993, allocations: 0.8839 MB / 0.5716 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.5994, allocations: 0 / 0.5716 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005648/0.605, allocations: 6.88 MB / 0.5783 GB, free: 38.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.6079, allocations: 3.5 MB / 0.5817 GB, free: 36.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.6083, allocations: 95.3 kB / 0.5818 GB, free: 36.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006328/0.6146, allocations: 8.581 MB / 0.5902 GB, free: 28.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.931e-05/0.6147, allocations: 8 kB / 0.5902 GB, free: 28.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.6206, allocations: 4.262 MB / 0.5944 GB, free: 24.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007627/0.6282, allocations: 7.604 MB / 0.6018 GB, free: 16.43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002362/0.6306, allocations: 0.4922 MB / 0.6023 GB, free: 15.94 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6325, allocations: 0.5117 MB / 0.6028 GB, free: 15.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01625/0.6487, allocations: 19.93 MB / 0.6222 GB, free: 11.45 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01694/0.6657, allocations: 11.26 MB / 0.6332 GB, free: 72 kB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02414/0.6899, allocations: 23.77 MB / 0.6565 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.69, allocations: 0 / 0.6565 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.004e-06/0.69, allocations: 0 / 0.6565 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001134/0.6911, allocations: 0 / 0.6565 GB, free: 8.168 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.06773/0.7589, allocations: 38.75 MB / 0.6943 GB, free: 1.016 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/0.759, allocations: 8.031 kB / 0.6943 GB, free: 1.008 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.759, allocations: 38.75 kB / 0.6943 GB, free: 0.9609 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.77, allocations: 4.403 MB / 0.6986 GB, free: 12.5 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1326/0.9026, allocations: 51.6 MB / 0.749 GB, free: 8.555 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.9027, allocations: 384 / 0.749 GB, free: 8.555 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.9027, allocations: 11.88 kB / 0.749 GB, free: 8.543 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.903, allocations: 49.67 kB / 0.7491 GB, free: 8.488 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.903, allocations: 0 / 0.7491 GB, free: 8.488 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.903, allocations: 0 / 0.7491 GB, free: 8.488 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.903, allocations: 4 kB / 0.7491 GB, free: 8.484 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.9032, allocations: 15.98 kB / 0.7491 GB, free: 8.469 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6301/1.533, allocations: 13.74 MB / 0.7625 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/1.534, allocations: 55.14 kB / 0.7626 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/1.534, allocations: 18.91 kB / 0.7626 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/1.534, allocations: 0.75 kB / 0.7626 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/1.534, allocations: 73.67 kB / 0.7627 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/1.534, allocations: 0 / 0.7627 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01275/1.547, allocations: 4.604 MB / 0.7672 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.547, allocations: 52.84 kB / 0.7672 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1093/1.656, allocations: 50.58 MB / 0.8166 GB, free: 109.4 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.656, allocations: 25.7 kB / 0.8166 GB, free: 109.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02446/1.681, allocations: 23.58 MB / 0.8397 GB, free: 85.77 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/1.681, allocations: 12.22 kB / 0.8397 GB, free: 85.77 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.681, allocations: 17.72 kB / 0.8397 GB, free: 85.74 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/1.681, allocations: 310 kB / 0.84 GB, free: 85.43 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.681, allocations: 12 kB / 0.84 GB, free: 85.42 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/1.681, allocations: 33.7 kB / 0.84 GB, free: 85.38 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/1.681, allocations: 53.23 kB / 0.8401 GB, free: 85.33 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.681, allocations: 0 / 0.8401 GB, free: 85.33 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.009692/1.691, allocations: 4.592 MB / 0.8446 GB, free: 83.18 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.691, allocations: 5.719 kB / 0.8446 GB, free: 83.17 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.691, allocations: 0 / 0.8446 GB, free: 83.17 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.691, allocations: 6.875 kB / 0.8446 GB, free: 83.17 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.691, allocations: 11.94 kB / 0.8446 GB, free: 83.16 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.691, allocations: 7.047 kB / 0.8446 GB, free: 83.15 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/1.702, allocations: 136.6 kB / 0.8447 GB, free: 83.02 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/1.702, allocations: 0 / 0.8447 GB, free: 83.02 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.01513/1.717, allocations: 9.396 MB / 0.8539 GB, free: 73.61 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0105/1.728, allocations: 4.648 MB / 0.8584 GB, free: 68.9 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/1.742, allocations: 5.122 MB / 0.8634 GB, free: 63.77 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.742, allocations: 0 / 0.8634 GB, free: 63.77 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.742, allocations: 3 kB / 0.8634 GB, free: 63.77 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.742, allocations: 3.938 kB / 0.8634 GB, free: 63.76 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04407/1.786, allocations: 15.08 MB / 0.8782 GB, free: 48.62 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.786, allocations: 0 / 0.8782 GB, free: 48.62 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-05/1.786, allocations: 4 kB / 0.8782 GB, free: 48.61 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/1.786, allocations: 0 / 0.8782 GB, free: 48.61 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/1.786, allocations: 0 / 0.8782 GB, free: 48.61 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.786, allocations: 0 / 0.8782 GB, free: 48.61 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.786, allocations: 3 kB / 0.8782 GB, free: 48.61 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01099/1.797, allocations: 5.04 MB / 0.8831 GB, free: 43.5 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01404/1.811, allocations: 3.508 MB / 0.8865 GB, free: 39.91 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007466/1.819, allocations: 124.1 kB / 0.8866 GB, free: 39.79 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007305/1.826, allocations: 133.8 kB / 0.8868 GB, free: 39.66 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/1.826, allocations: 14.92 kB / 0.8868 GB, free: 39.65 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.826, allocations: 4 kB / 0.8868 GB, free: 39.65 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.0714/1.898, allocations: 35 MB / 0.921 GB, free: 4.949 MB / 0.5923 GB Notification: Performance of sort global known variables: time 3.21e-07/1.898, allocations: 0 / 0.921 GB, free: 4.949 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.006272/1.904, allocations: 1.242 MB / 0.9222 GB, free: 3.711 MB / 0.5923 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.008745/1.913, allocations: 6.21 MB / 0.9283 GB, free: 13.6 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.0002078/1.913, allocations: 43.98 kB / 0.9283 GB, free: 13.55 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.913, allocations: 0 / 0.9283 GB, free: 13.55 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/1.913, allocations: 26.92 kB / 0.9283 GB, free: 13.53 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01841/1.932, allocations: 3.399 MB / 0.9316 GB, free: 10.13 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.881/8.813, allocations: 1.207 GB / 2.139 GB, free: 348.9 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03502/8.848, allocations: 17.34 MB / 2.155 GB, free: 331.5 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.04821/8.896, allocations: 11.3 MB / 2.166 GB, free: 320.7 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03915/8.935, allocations: 21.71 MB / 2.188 GB, free: 299 MB / 0.8423 GB Notification: Performance of SimCode: time 2.064e-06/8.935, allocations: 0 / 2.188 GB, free: 299 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.931/10.87, allocations: 0.5552 GB / 2.743 GB, free: 234.3 MB / 0.8423 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/10.87, allocations: 282.2 kB / 2.743 GB, free: 234 MB / 0.8423 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.99/49.85, allocations: 2.109 kB / 2.743 GB, free: 234 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