Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001498/0.001498, allocations: 109.9 kB / 17.06 MB, free: 5.82 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.001419/0.001419, allocations: 195.9 kB / 18 MB, free: 4.965 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9541/0.9541, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 67.36 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1247, allocations: 80.69 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002331/0.127, allocations: 1.402 MB / 0.6506 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.128, allocations: 0.5691 MB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.1281, allocations: 3.938 kB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.1285, allocations: 447.1 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.1291, allocations: 487 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1294, allocations: 87.72 kB / 0.6521 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1304, allocations: 1.131 MB / 0.6532 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.1304, allocations: 0 / 0.6532 GB, free: 9.445 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005494/0.131, allocations: 0.5692 MB / 0.6538 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009782/0.132, allocations: 1.03 MB / 0.6548 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.1321, allocations: 68 kB / 0.6549 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.1324, allocations: 139.9 kB / 0.655 GB, free: 7.641 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.135, allocations: 2.497 MB / 0.6574 GB, free: 5.137 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001191/0.1362, allocations: 1.427 MB / 0.6588 GB, free: 3.695 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.139, allocations: 3.205 MB / 0.662 GB, free: 480 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1391, allocations: 0 / 0.662 GB, free: 480 kB / 0.4983 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1391, allocations: 0 / 0.662 GB, free: 480 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.073e-05/0.1391, allocations: 0 / 0.662 GB, free: 480 kB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005746/0.1449, allocations: 5.384 MB / 0.6672 GB, free: 10.98 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.1449, allocations: 11.89 kB / 0.6672 GB, free: 10.97 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.145, allocations: 38.73 kB / 0.6673 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006888/0.1457, allocations: 0.5868 MB / 0.6678 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009414/0.1551, allocations: 6.623 MB / 0.6743 GB, free: 3.641 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1551, allocations: 8.359 kB / 0.6743 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1552, allocations: 16.38 kB / 0.6743 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.1555, allocations: 241.6 kB / 0.6746 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1556, allocations: 0 / 0.6746 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.1556, allocations: 20 kB / 0.6746 GB, free: 3.355 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1556, allocations: 3.938 kB / 0.6746 GB, free: 3.352 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1558, allocations: 128 kB / 0.6747 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1578, allocations: 1.87 MB / 0.6765 GB, free: 1.309 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.158, allocations: 94.58 kB / 0.6766 GB, free: 1.207 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1582, allocations: 92.89 kB / 0.6767 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.1582, allocations: 4 kB / 0.6767 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.1585, allocations: 264.8 kB / 0.677 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1585, allocations: 0 / 0.677 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001525/0.1601, allocations: 1.183 MB / 0.6781 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.1602, allocations: 89.05 kB / 0.6782 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007119/0.1673, allocations: 6.275 MB / 0.6843 GB, free: 9.297 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.1674, allocations: 41.7 kB / 0.6844 GB, free: 9.25 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/0.1697, allocations: 2.52 MB / 0.6868 GB, free: 6.727 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.866e-05/0.1698, allocations: 31.91 kB / 0.6869 GB, free: 6.695 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.17, allocations: 137.7 kB / 0.687 GB, free: 6.555 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1702, allocations: 306 kB / 0.6873 GB, free: 6.25 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1703, allocations: 83.98 kB / 0.6874 GB, free: 6.168 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1704, allocations: 75.94 kB / 0.6874 GB, free: 6.094 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.1708, allocations: 232.3 kB / 0.6877 GB, free: 5.852 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1708, allocations: 0 / 0.6877 GB, free: 5.852 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001337/0.1721, allocations: 1.124 MB / 0.6888 GB, free: 4.711 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.1722, allocations: 33.69 kB / 0.6888 GB, free: 4.672 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1722, allocations: 4 kB / 0.6888 GB, free: 4.668 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1722, allocations: 4 kB / 0.6888 GB, free: 4.664 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.1723, allocations: 4 kB / 0.6888 GB, free: 4.66 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1723, allocations: 3.938 kB / 0.6888 GB, free: 4.656 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.1727, allocations: 19.94 kB / 0.6888 GB, free: 4.637 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.1729, allocations: 224 kB / 0.689 GB, free: 4.418 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.001596/0.1745, allocations: 1.336 MB / 0.6903 GB, free: 3.066 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005519/0.175, allocations: 0.6131 MB / 0.6909 GB, free: 2.449 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006941/0.1758, allocations: 0.6519 MB / 0.6916 GB, free: 1.793 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1758, allocations: 0 / 0.6916 GB, free: 1.793 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1758, allocations: 0 / 0.6916 GB, free: 1.793 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1758, allocations: 0 / 0.6916 GB, free: 1.793 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.1777, allocations: 2.022 MB / 0.6936 GB, free: 15.72 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1777, allocations: 3.938 kB / 0.6936 GB, free: 15.72 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1778, allocations: 4 kB / 0.6936 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1778, allocations: 0 / 0.6936 GB, free: 15.71 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.1779, allocations: 56 kB / 0.6936 GB, free: 15.66 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1779, allocations: 4 kB / 0.6936 GB, free: 15.66 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1779, allocations: 3.984 kB / 0.6936 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1792, allocations: 1.199 MB / 0.6948 GB, free: 14.43 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.1799, allocations: 0.5947 MB / 0.6954 GB, free: 13.81 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.1802, allocations: 20 kB / 0.6954 GB, free: 13.79 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.1805, allocations: 16 kB / 0.6954 GB, free: 13.77 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1805, allocations: 4 kB / 0.6954 GB, free: 13.77 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.1807, allocations: 227.9 kB / 0.6956 GB, free: 13.55 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005389/0.1861, allocations: 4.328 MB / 0.6999 GB, free: 9.258 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1861, allocations: 4 kB / 0.6999 GB, free: 9.254 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0005451/0.1867, allocations: 187.9 kB / 0.7 GB, free: 9.07 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001804/0.1885, allocations: 1.809 MB / 0.7018 GB, free: 7.227 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.189, allocations: 283.4 kB / 0.7021 GB, free: 6.938 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.189, allocations: 3.938 kB / 0.7021 GB, free: 6.934 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.1892, allocations: 187.4 kB / 0.7023 GB, free: 6.738 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.1904, allocations: 443.4 kB / 0.7027 GB, free: 6.305 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04361/0.234, allocations: 32.81 MB / 0.7347 GB, free: 5.379 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/0.2366, allocations: 2.728 MB / 0.7374 GB, free: 2.625 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002255/0.2389, allocations: 1.141 MB / 0.7385 GB, free: 1.477 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/0.241, allocations: 2.085 MB / 0.7405 GB, free: 15.39 MB / 0.592 GB Notification: Performance of SimCode: time 1.112e-06/0.241, allocations: 0 / 0.7405 GB, free: 15.39 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.249/1.49, allocations: 79.21 MB / 0.8179 GB, free: 79.56 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.84/27.33, allocations: 9 kB / 0.8179 GB, free: 79.55 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches