Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 87.97 kB / 16.31 MB, free: 6.461 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.001219/0.001219, allocations: 183 kB / 17.21 MB, free: 6.328 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.549/1.549, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.004/1.004, allocations: 120.5 MB / 412.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 0.4943 GB, free: 11.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 82.85 MB / 0.5752 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.001716/0.1955, allocations: 1.118 MB / 0.5763 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1966, allocations: 0.5225 MB / 0.5768 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.1967, allocations: 4 kB / 0.5768 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.197, allocations: 131.8 kB / 0.5769 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1973, allocations: 167.7 kB / 0.5771 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1977, allocations: 59.88 kB / 0.5771 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.198, allocations: 283.5 kB / 0.5774 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.198, allocations: 0 / 0.5774 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.1983, allocations: 179.7 kB / 0.5776 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.1987, allocations: 281.6 kB / 0.5778 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.1988, allocations: 20 kB / 0.5779 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1989, allocations: 79.94 kB / 0.5779 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.1996, allocations: 0.6353 MB / 0.5785 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1998, allocations: 160.9 kB / 0.5787 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.2004, allocations: 0.6078 MB / 0.5793 GB, free: 3.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2004, allocations: 0 / 0.5793 GB, free: 3.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2005, allocations: 0 / 0.5793 GB, free: 3.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.121e-05/0.2005, allocations: 0 / 0.5793 GB, free: 3.867 MB / 446.1 MB 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.001775/0.2023, allocations: 1.438 MB / 0.5807 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2023, allocations: 8.031 kB / 0.5807 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.2026, allocations: 150 kB / 0.5808 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.2056, allocations: 1.676 MB / 0.5825 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2056, allocations: 0 / 0.5825 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2056, allocations: 11.94 kB / 0.5825 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.2058, allocations: 93.64 kB / 0.5826 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2058, allocations: 4 kB / 0.5826 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2059, allocations: 7.938 kB / 0.5826 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2059, allocations: 0 / 0.5826 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.206, allocations: 47.94 kB / 0.5826 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6105/0.8165, allocations: 0.5798 MB / 0.5832 GB, free: 15.63 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.8167, allocations: 55.72 kB / 0.5833 GB, free: 15.61 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.8168, allocations: 45.69 kB / 0.5833 GB, free: 15.6 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.8169, allocations: 0 / 0.5833 GB, free: 15.6 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.8172, allocations: 143.5 kB / 0.5834 GB, free: 15.52 MB / 446.3 MB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.8172, allocations: 0 / 0.5834 GB, free: 15.52 MB / 446.3 MB Notification: Performance of matching and sorting (n=8): time 0.0008176/0.818, allocations: 399.6 kB / 0.5838 GB, free: 15.46 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.8181, allocations: 85.19 kB / 0.5839 GB, free: 15.37 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.8205, allocations: 1.639 MB / 0.5855 GB, free: 15.2 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.8206, allocations: 30.67 kB / 0.5855 GB, free: 15.17 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005888/0.8212, allocations: 0.6258 MB / 0.5861 GB, free: 14.95 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.8212, allocations: 30.75 kB / 0.5862 GB, free: 14.95 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.8212, allocations: 4.125 kB / 0.5862 GB, free: 14.95 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.8213, allocations: 308.9 kB / 0.5865 GB, free: 14.64 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.8214, allocations: 35.86 kB / 0.5865 GB, free: 14.63 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/0.8214, allocations: 30.19 kB / 0.5865 GB, free: 14.63 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.8215, allocations: 61.7 kB / 0.5866 GB, free: 14.59 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8215, allocations: 0.7812 kB / 0.5866 GB, free: 14.59 MB / 446.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004717/0.822, allocations: 375.5 kB / 0.587 GB, free: 14.43 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.8221, allocations: 35.33 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.8221, allocations: 4.344 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8221, allocations: 1.188 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.8222, allocations: 5.906 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8222, allocations: 0.9688 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.8223, allocations: 15.27 kB / 0.587 GB, free: 14.39 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.8224, allocations: 57.88 kB / 0.5871 GB, free: 14.38 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006276/0.8231, allocations: 455.9 kB / 0.5875 GB, free: 14.2 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.8232, allocations: 152.3 kB / 0.5877 GB, free: 14.12 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.8235, allocations: 172.3 kB / 0.5878 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.8235, allocations: 7.125 kB / 0.5878 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.8235, allocations: 0.75 kB / 0.5878 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8235, allocations: 0 / 0.5878 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.8245, allocations: 0.6347 MB / 0.5884 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8245, allocations: 0.75 kB / 0.5884 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.8245, allocations: 5.5 kB / 0.5884 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8245, allocations: 0.6094 kB / 0.5884 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.8246, allocations: 15.67 kB / 0.5885 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8246, allocations: 0 / 0.5885 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8246, allocations: 1.797 kB / 0.5885 GB, free: 13.72 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.8251, allocations: 430 kB / 0.5889 GB, free: 13.51 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.8253, allocations: 215.3 kB / 0.5891 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.8254, allocations: 8.078 kB / 0.5891 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8255, allocations: 7.188 kB / 0.5891 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.8256, allocations: 7.703 kB / 0.5891 GB, free: 13.32 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-05/0.8256, allocations: 62.19 kB / 0.5892 GB, free: 13.31 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.001715/0.8274, allocations: 1.139 MB / 0.5903 GB, free: 12.98 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8274, allocations: 0 / 0.5903 GB, free: 12.98 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0003663/0.8278, allocations: 69.69 kB / 0.5903 GB, free: 12.98 MB / 446.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002016/0.828, allocations: 133.1 kB / 0.5905 GB, free: 12.89 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.8283, allocations: 172.7 kB / 0.5906 GB, free: 12.8 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8283, allocations: 0 / 0.5906 GB, free: 12.8 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.8284, allocations: 129.8 kB / 0.5908 GB, free: 12.71 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.8289, allocations: 118.6 kB / 0.5909 GB, free: 12.63 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.832, allocations: 2.239 MB / 0.5931 GB, free: 11.64 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.8328, allocations: 1.181 MB / 0.5942 GB, free: 10.9 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0006933/0.8335, allocations: 295.1 kB / 0.5945 GB, free: 10.83 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.8336, allocations: 74.75 kB / 0.5946 GB, free: 10.82 MB / 446.3 MB Notification: Performance of SimCode: time 8.52e-07/0.8336, allocations: 0 / 0.5946 GB, free: 10.82 MB / 446.3 MB Notification: Performance of Templates: time 0.0152/0.8488, allocations: 5.601 MB / 0.6 GB, free: 9.719 MB / 446.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches