Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",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.001187/0.001187, allocations: 104.8 kB / 16.92 MB, free: 6.145 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: 187.4 kB / 17.85 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.202/1.202, allocations: 222.9 MB / 241.6 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.7751/0.7751, allocations: 119.3 MB / 411 MB, free: 9.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.89 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4034, allocations: 80.69 MB / 0.5698 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002546/0.406, allocations: 1.566 MB / 0.5714 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.4071, allocations: 0.8856 MB / 0.5722 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.4071, allocations: 1.5 kB / 0.5722 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.4078, allocations: 0.9016 MB / 0.5731 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.4083, allocations: 0.5205 MB / 0.5736 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.4086, allocations: 113.7 kB / 0.5737 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.4094, allocations: 1.165 MB / 0.5749 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.4095, allocations: 9.234 kB / 0.5749 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.41, allocations: 0.5807 MB / 0.5754 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.4108, allocations: 1.041 MB / 0.5765 GB, free: 39.35 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.411, allocations: 65.47 kB / 0.5765 GB, free: 39.35 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.4112, allocations: 90.11 kB / 0.5766 GB, free: 39.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.4134, allocations: 2.508 MB / 0.5791 GB, free: 38.11 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008793/0.4143, allocations: 1.432 MB / 0.5805 GB, free: 36.88 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.4165, allocations: 3.118 MB / 0.5835 GB, free: 34.91 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4165, allocations: 5.453 kB / 0.5835 GB, free: 34.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4166, allocations: 0 / 0.5835 GB, free: 34.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.394e-05/0.4166, allocations: 0 / 0.5835 GB, free: 34.9 MB / 462.3 MB 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.004887/0.4215, allocations: 5.172 MB / 0.5886 GB, free: 30.37 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.4216, allocations: 23.83 kB / 0.5886 GB, free: 30.35 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.705e-05/0.4216, allocations: 34.75 kB / 0.5886 GB, free: 30.3 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.422, allocations: 0.556 MB / 0.5892 GB, free: 29.74 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007199/0.4292, allocations: 6.544 MB / 0.5956 GB, free: 23.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4293, allocations: 12.36 kB / 0.5956 GB, free: 23.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.4293, allocations: 3.938 kB / 0.5956 GB, free: 23.1 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4294, allocations: 49.62 kB / 0.5956 GB, free: 23.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4294, allocations: 3.938 kB / 0.5956 GB, free: 23.04 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4294, allocations: 3.984 kB / 0.5956 GB, free: 23.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4295, allocations: 4 kB / 0.5956 GB, free: 23.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.06e-05/0.4295, allocations: 12 kB / 0.5956 GB, free: 23.02 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.431, allocations: 1.859 MB / 0.5975 GB, free: 21.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.4312, allocations: 54.55 kB / 0.5975 GB, free: 21.05 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.4312, allocations: 16.86 kB / 0.5975 GB, free: 21.04 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4313, allocations: 7.984 kB / 0.5975 GB, free: 21.03 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4315, allocations: 71.33 kB / 0.5976 GB, free: 20.95 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.4315, allocations: 0 / 0.5976 GB, free: 20.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0005983/0.4321, allocations: 0.6544 MB / 0.5982 GB, free: 20.28 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.4321, allocations: 51.41 kB / 0.5983 GB, free: 20.21 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005116/0.4372, allocations: 6.439 MB / 0.6046 GB, free: 13.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4373, allocations: 25.7 kB / 0.6046 GB, free: 13.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.4388, allocations: 2.668 MB / 0.6072 GB, free: 11.12 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4388, allocations: 19.75 kB / 0.6072 GB, free: 11.1 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.4389, allocations: 17.72 kB / 0.6072 GB, free: 11.07 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.4389, allocations: 306 kB / 0.6075 GB, free: 10.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/0.439, allocations: 15.98 kB / 0.6075 GB, free: 10.75 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.4391, allocations: 33.94 kB / 0.6076 GB, free: 10.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.4391, allocations: 45.72 kB / 0.6076 GB, free: 10.66 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4391, allocations: 7.922 kB / 0.6076 GB, free: 10.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005522/0.4397, allocations: 0.6426 MB / 0.6083 GB, free: 10 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4397, allocations: 4 kB / 0.6083 GB, free: 9.996 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4397, allocations: 0 / 0.6083 GB, free: 9.996 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4398, allocations: 4 kB / 0.6083 GB, free: 9.992 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.4398, allocations: 8 kB / 0.6083 GB, free: 9.984 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.4398, allocations: 0 / 0.6083 GB, free: 9.984 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.4402, allocations: 27.98 kB / 0.6083 GB, free: 9.957 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4402, allocations: 4.031 kB / 0.6083 GB, free: 9.953 MB / 462.3 MB 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.001233/0.4414, allocations: 1.282 MB / 0.6096 GB, free: 8.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.4418, allocations: 0.5863 MB / 0.6101 GB, free: 8.066 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000514/0.4423, allocations: 0.652 MB / 0.6108 GB, free: 7.414 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4423, allocations: 0 / 0.6108 GB, free: 7.414 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4423, allocations: 3.984 kB / 0.6108 GB, free: 7.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4423, allocations: 7.875 kB / 0.6108 GB, free: 7.402 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.4436, allocations: 2.035 MB / 0.6128 GB, free: 5.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4436, allocations: 0 / 0.6128 GB, free: 5.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.4437, allocations: 4 kB / 0.6128 GB, free: 5.316 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4437, allocations: 4 kB / 0.6128 GB, free: 5.312 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4437, allocations: 0 / 0.6128 GB, free: 5.312 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4437, allocations: 3.984 kB / 0.6128 GB, free: 5.309 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4437, allocations: 0 / 0.6128 GB, free: 5.309 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.4442, allocations: 0.7174 MB / 0.6135 GB, free: 4.566 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/0.4446, allocations: 0.5209 MB / 0.614 GB, free: 4.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.4448, allocations: 19.94 kB / 0.614 GB, free: 4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.4451, allocations: 20 kB / 0.614 GB, free: 3.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.4451, allocations: 11.98 kB / 0.614 GB, free: 3.969 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.4452, allocations: 0 / 0.614 GB, free: 3.969 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004203/0.4494, allocations: 4.416 MB / 0.6183 GB, free: 15.59 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4494, allocations: 0 / 0.6183 GB, free: 15.59 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005901/0.45, allocations: 176 kB / 0.6185 GB, free: 15.42 MB / 478.3 MB 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.001691/0.4517, allocations: 1.592 MB / 0.6201 GB, free: 13.96 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.4519, allocations: 51.86 kB / 0.6201 GB, free: 13.91 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4519, allocations: 0 / 0.6201 GB, free: 13.91 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 5.525e-05/0.4519, allocations: 19.98 kB / 0.6201 GB, free: 13.89 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4531, allocations: 456.3 kB / 0.6206 GB, free: 13.44 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04508/0.4982, allocations: 47.28 MB / 0.6667 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.5004, allocations: 2.733 MB / 0.6694 GB, free: 8.055 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.003221/0.5036, allocations: 1.383 MB / 0.6708 GB, free: 6.664 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/0.5061, allocations: 2.377 MB / 0.6731 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of SimCode: time 5.41e-07/0.5061, allocations: 0 / 0.6731 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.6109, allocations: 73.59 MB / 0.745 GB, free: 10.77 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/9.136, allocations: 8.438 kB / 0.745 GB, free: 10.77 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches