Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",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.001229/0.001229, allocations: 106.7 kB / 16.92 MB, free: 5.758 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.00122/0.00122, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.212/1.212, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7939/0.7939, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3962, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.002258/0.3985, allocations: 1.568 MB / 0.5714 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3996, allocations: 0.8865 MB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.3997, allocations: 1.312 kB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.4007, allocations: 1.757 MB / 0.574 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.4015, allocations: 0.9471 MB / 0.5749 GB, free: 40.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.4017, allocations: 113.3 kB / 0.575 GB, free: 40 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.403, allocations: 2.224 MB / 0.5772 GB, free: 38.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.4031, allocations: 12.61 kB / 0.5772 GB, free: 38.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.4041, allocations: 1.109 MB / 0.5783 GB, free: 38.37 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.406, allocations: 2.047 MB / 0.5803 GB, free: 37.57 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.4063, allocations: 129.1 kB / 0.5804 GB, free: 37.57 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.4066, allocations: 155.9 kB / 0.5805 GB, free: 37.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.4104, allocations: 4.995 MB / 0.5854 GB, free: 33.71 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.4125, allocations: 2.839 MB / 0.5882 GB, free: 30.84 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.416, allocations: 6.132 MB / 0.5942 GB, free: 24.68 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.416, allocations: 0 / 0.5942 GB, free: 24.68 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.653e-06/0.416, allocations: 0 / 0.5942 GB, free: 24.68 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001143/0.4161, allocations: 0 / 0.5942 GB, free: 24.68 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.006996/0.4231, allocations: 9.976 MB / 0.6039 GB, free: 14.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4232, allocations: 15.89 kB / 0.6039 GB, free: 14.55 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.4232, allocations: 38.73 kB / 0.604 GB, free: 14.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.4239, allocations: 1.107 MB / 0.605 GB, free: 13.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.4376, allocations: 12.98 MB / 0.6177 GB, free: 296 kB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4376, allocations: 384 / 0.6177 GB, free: 296 kB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4376, allocations: 3.938 kB / 0.6177 GB, free: 292 kB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4378, allocations: 53.67 kB / 0.6178 GB, free: 232 kB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4378, allocations: 0 / 0.6178 GB, free: 232 kB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4378, allocations: 4 kB / 0.6178 GB, free: 228 kB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4378, allocations: 0 / 0.6178 GB, free: 228 kB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.4379, allocations: 15.98 kB / 0.6178 GB, free: 212 kB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.4412, allocations: 3.549 MB / 0.6213 GB, free: 12.61 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.4414, allocations: 62.48 kB / 0.6213 GB, free: 12.54 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.4414, allocations: 16.86 kB / 0.6213 GB, free: 12.52 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4415, allocations: 4 kB / 0.6213 GB, free: 12.52 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.4417, allocations: 63.39 kB / 0.6214 GB, free: 12.45 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.4417, allocations: 0 / 0.6214 GB, free: 12.45 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.001242/0.4429, allocations: 1.225 MB / 0.6226 GB, free: 11.2 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.443, allocations: 55.41 kB / 0.6226 GB, free: 11.13 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/0.4571, allocations: 12.74 MB / 0.6351 GB, free: 14.49 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4572, allocations: 29.7 kB / 0.6351 GB, free: 14.45 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004367/0.4615, allocations: 5.482 MB / 0.6405 GB, free: 8.969 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.4616, allocations: 7.812 kB / 0.6405 GB, free: 8.961 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.4616, allocations: 17.72 kB / 0.6405 GB, free: 8.938 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.4617, allocations: 321.9 kB / 0.6408 GB, free: 8.617 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.4618, allocations: 12 kB / 0.6408 GB, free: 8.605 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.4619, allocations: 25.7 kB / 0.6408 GB, free: 8.574 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.462, allocations: 53.64 kB / 0.6409 GB, free: 8.516 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.462, allocations: 7.875 kB / 0.6409 GB, free: 8.508 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001336/0.4633, allocations: 1.202 MB / 0.6421 GB, free: 7.285 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4634, allocations: 4 kB / 0.6421 GB, free: 7.281 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4634, allocations: 0 / 0.6421 GB, free: 7.281 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4634, allocations: 0 / 0.6421 GB, free: 7.281 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.4635, allocations: 23.92 kB / 0.6421 GB, free: 7.258 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4635, allocations: 0 / 0.6421 GB, free: 7.258 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.4642, allocations: 40.03 kB / 0.6421 GB, free: 7.219 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.4642, allocations: 4 kB / 0.6421 GB, free: 7.215 MB / 494.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.002483/0.4667, allocations: 2.437 MB / 0.6445 GB, free: 4.766 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008963/0.4676, allocations: 1.169 MB / 0.6457 GB, free: 3.582 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.4687, allocations: 1.285 MB / 0.6469 GB, free: 2.293 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4687, allocations: 0 / 0.6469 GB, free: 2.293 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4687, allocations: 0 / 0.6469 GB, free: 2.293 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4687, allocations: 0 / 0.6469 GB, free: 2.293 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.4718, allocations: 3.901 MB / 0.6507 GB, free: 14.35 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4718, allocations: 0 / 0.6507 GB, free: 14.35 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.4719, allocations: 8 kB / 0.6507 GB, free: 14.34 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4719, allocations: 3.984 kB / 0.6507 GB, free: 14.34 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4719, allocations: 4 kB / 0.6507 GB, free: 14.33 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4719, allocations: 0 / 0.6507 GB, free: 14.33 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4719, allocations: 0 / 0.6507 GB, free: 14.33 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.4731, allocations: 1.336 MB / 0.652 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.474, allocations: 0.9434 MB / 0.653 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/0.4745, allocations: 36 kB / 0.653 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.475, allocations: 36 kB / 0.653 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.4751, allocations: 4 kB / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.4751, allocations: 3.984 kB / 0.653 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0106/0.4857, allocations: 8.76 MB / 0.6616 GB, free: 3.23 MB / 0.4983 GB Notification: Performance of sort global known variables: time 7.92e-07/0.4857, allocations: 0 / 0.6616 GB, free: 3.23 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001161/0.4869, allocations: 332 kB / 0.6619 GB, free: 2.906 MB / 0.4983 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.002329/0.4893, allocations: 2.257 MB / 0.6641 GB, free: 0.7656 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.4894, allocations: 47.97 kB / 0.6642 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4894, allocations: 0 / 0.6642 GB, free: 0.7188 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.4895, allocations: 19.94 kB / 0.6642 GB, free: 0.6992 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.4916, allocations: 0.8695 MB / 0.665 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4615/0.9531, allocations: 124.4 MB / 0.7865 GB, free: 174.2 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003188/0.9564, allocations: 4.795 MB / 0.7912 GB, free: 171.5 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.006045/0.9624, allocations: 2.829 MB / 0.794 GB, free: 170.2 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004038/0.9665, allocations: 4.968 MB / 0.7988 GB, free: 166 MB / 0.6079 GB Notification: Performance of SimCode: time 7.72e-07/0.9665, allocations: 3 kB / 0.7988 GB, free: 166 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/1.129, allocations: 145 MB / 0.9405 GB, free: 22.5 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.4, allocations: 24.47 kB / 0.9405 GB, free: 22.48 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches