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.0009547/0.0009548, allocations: 92.03 kB / 16.65 MB, free: 6.586 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.0009627/0.0009628, allocations: 182 kB / 17.56 MB, free: 6.203 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.316/1.316, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8745/0.8745, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003715, allocations: 8 kB / 0.495 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5199, allocations: 82.85 MB / 0.5759 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001825/0.5218, allocations: 1.287 MB / 0.5772 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.5229, allocations: 0.8598 MB / 0.578 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.523, allocations: 0 / 0.578 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.5243, allocations: 1.754 MB / 0.5797 GB, free: 39.36 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.5251, allocations: 0.9375 MB / 0.5806 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.5254, allocations: 91.89 kB / 0.5807 GB, free: 38.82 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.5272, allocations: 2.219 MB / 0.5829 GB, free: 37.74 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.5273, allocations: 4.969 kB / 0.5829 GB, free: 37.74 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.5287, allocations: 1.099 MB / 0.584 GB, free: 37.21 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.5307, allocations: 1.93 MB / 0.5859 GB, free: 36.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.5309, allocations: 128 kB / 0.586 GB, free: 35.95 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.5312, allocations: 156 kB / 0.5861 GB, free: 35.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002994/0.5342, allocations: 4.987 MB / 0.591 GB, free: 30.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.5361, allocations: 2.864 MB / 0.5938 GB, free: 27.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.5391, allocations: 5.976 MB / 0.5996 GB, free: 21.89 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5391, allocations: 4 kB / 0.5996 GB, free: 21.88 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5391, allocations: 0 / 0.5996 GB, free: 21.88 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001241/0.5393, allocations: 0 / 0.5996 GB, free: 21.88 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.007679/0.5469, allocations: 8.808 MB / 0.6082 GB, free: 12.96 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.547, allocations: 8.031 kB / 0.6082 GB, free: 12.95 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.547, allocations: 38.73 kB / 0.6083 GB, free: 12.9 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5482, allocations: 1.107 MB / 0.6094 GB, free: 11.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/0.5647, allocations: 12.97 MB / 0.622 GB, free: 14.69 MB / 478.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5648, allocations: 8.375 kB / 0.622 GB, free: 14.68 MB / 478.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.5648, allocations: 3.938 kB / 0.622 GB, free: 14.68 MB / 478.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.565, allocations: 49.61 kB / 0.6221 GB, free: 14.62 MB / 478.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.565, allocations: 0 / 0.6221 GB, free: 14.62 MB / 478.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.565, allocations: 4 kB / 0.6221 GB, free: 14.62 MB / 478.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.565, allocations: 0 / 0.6221 GB, free: 14.62 MB / 478.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.5651, allocations: 15.98 kB / 0.6221 GB, free: 14.61 MB / 478.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005052/0.5702, allocations: 3.549 MB / 0.6256 GB, free: 11.01 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.5704, allocations: 62.55 kB / 0.6256 GB, free: 10.94 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.5705, allocations: 16.86 kB / 0.6256 GB, free: 10.92 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5705, allocations: 7.922 kB / 0.6256 GB, free: 10.91 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.5708, allocations: 67.38 kB / 0.6257 GB, free: 10.84 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 2.475e-06/0.5708, allocations: 3.938 kB / 0.6257 GB, free: 10.83 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.002265/0.5731, allocations: 1.229 MB / 0.6269 GB, free: 9.582 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.5731, allocations: 55.41 kB / 0.627 GB, free: 9.516 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.016/0.5891, allocations: 12.74 MB / 0.6394 GB, free: 12.87 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.5892, allocations: 29.64 kB / 0.6394 GB, free: 12.83 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004812/0.594, allocations: 5.478 MB / 0.6448 GB, free: 7.352 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.5941, allocations: 15.81 kB / 0.6448 GB, free: 7.336 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.5941, allocations: 9.719 kB / 0.6448 GB, free: 7.32 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.5942, allocations: 318 kB / 0.6451 GB, free: 7.004 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.5943, allocations: 15.94 kB / 0.6451 GB, free: 6.988 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.76e-05/0.5944, allocations: 29.7 kB / 0.6452 GB, free: 6.953 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.578e-05/0.5945, allocations: 41.7 kB / 0.6452 GB, free: 6.906 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5945, allocations: 3.938 kB / 0.6452 GB, free: 6.902 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001649/0.5962, allocations: 1.206 MB / 0.6464 GB, free: 5.676 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5962, allocations: 8 kB / 0.6464 GB, free: 5.668 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5962, allocations: 4.031 kB / 0.6464 GB, free: 5.664 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5962, allocations: 0 / 0.6464 GB, free: 5.664 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.5963, allocations: 11.98 kB / 0.6464 GB, free: 5.652 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5963, allocations: 4 kB / 0.6464 GB, free: 5.648 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5974, allocations: 32 kB / 0.6464 GB, free: 5.617 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5975, allocations: 8 kB / 0.6464 GB, free: 5.609 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.002996/0.6005, allocations: 2.44 MB / 0.6488 GB, free: 3.16 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/0.6022, allocations: 1.169 MB / 0.65 GB, free: 1.977 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.6043, allocations: 1.288 MB / 0.6512 GB, free: 0.6836 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6043, allocations: 4 kB / 0.6512 GB, free: 0.6797 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6043, allocations: 0 / 0.6512 GB, free: 0.6797 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6043, allocations: 0 / 0.6512 GB, free: 0.6797 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006403/0.6107, allocations: 3.893 MB / 0.655 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6108, allocations: 3.984 kB / 0.655 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.6108, allocations: 4 kB / 0.655 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6108, allocations: 0 / 0.655 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.6108, allocations: 0 / 0.655 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6108, allocations: 4 kB / 0.655 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6108, allocations: 0 / 0.655 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.6125, allocations: 1.344 MB / 0.6564 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.6141, allocations: 1.037 MB / 0.6574 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007823/0.6149, allocations: 36 kB / 0.6574 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.6158, allocations: 36 kB / 0.6574 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.6158, allocations: 3.984 kB / 0.6574 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.6158, allocations: 4 kB / 0.6574 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01242/0.6283, allocations: 8.76 MB / 0.666 GB, free: 1.527 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.002e-06/0.6283, allocations: 4 kB / 0.666 GB, free: 1.523 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.001484/0.6298, allocations: 335.9 kB / 0.6663 GB, free: 1.195 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.003125/0.6329, allocations: 2.245 MB / 0.6685 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.6332, allocations: 47.91 kB / 0.6686 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6332, allocations: 4.062 kB / 0.6686 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.6333, allocations: 16 kB / 0.6686 GB, free: 15 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/0.6374, allocations: 0.8719 MB / 0.6694 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8644/1.502, allocations: 125.4 MB / 0.7919 GB, free: 172.7 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/1.506, allocations: 4.798 MB / 0.7966 GB, free: 169.2 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.00712/1.514, allocations: 2.847 MB / 0.7994 GB, free: 166.5 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005283/1.519, allocations: 4.97 MB / 0.8043 GB, free: 161.6 MB / 0.6079 GB Notification: Performance of SimCode: time 1.373e-06/1.519, allocations: 0 / 0.8043 GB, free: 161.6 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1779/1.697, allocations: 141.9 MB / 0.9428 GB, free: 20.06 MB / 0.6079 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/1.697, allocations: 285.8 kB / 0.9431 GB, free: 19.67 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.262/7.959, allocations: 0 / 0.9431 GB, free: 19.67 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches