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.001394/0.001394, allocations: 113.3 kB / 17.06 MB, free: 6.09 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.001496/0.001496, allocations: 199 kB / 18 MB, free: 5.168 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.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.043/1.043, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.91 kB / 0.5704 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.7 MB / 0.6492 GB, free: 13.55 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002447/0.1542, allocations: 1.421 MB / 0.6506 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.1552, allocations: 0.5652 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.1553, allocations: 4 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1557, allocations: 447.1 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.1563, allocations: 487 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1566, allocations: 83.78 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008372/0.1575, allocations: 1.123 MB / 0.6532 GB, free: 9.426 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1575, allocations: 11.98 kB / 0.6532 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/0.1582, allocations: 0.5615 MB / 0.6538 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.1592, allocations: 1.034 MB / 0.6548 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.1594, allocations: 64 kB / 0.6549 GB, free: 7.754 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.1597, allocations: 139.9 kB / 0.655 GB, free: 7.617 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/0.1621, allocations: 2.497 MB / 0.6574 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.1637, allocations: 1.427 MB / 0.6588 GB, free: 3.672 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.1663, allocations: 3.174 MB / 0.6619 GB, free: 496 kB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1663, allocations: 0 / 0.6619 GB, free: 496 kB / 0.4983 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1663, allocations: 0 / 0.6619 GB, free: 496 kB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.387e-05/0.1664, allocations: 0 / 0.6619 GB, free: 496 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.006794/0.1732, allocations: 5.161 MB / 0.667 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.1732, allocations: 15.89 kB / 0.667 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1733, allocations: 30.75 kB / 0.667 GB, free: 11.17 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008432/0.1742, allocations: 0.556 MB / 0.6676 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.1846, allocations: 6.531 MB / 0.6739 GB, free: 3.996 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1847, allocations: 4.312 kB / 0.6739 GB, free: 3.992 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.1847, allocations: 20.38 kB / 0.674 GB, free: 3.973 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.1851, allocations: 245.6 kB / 0.6742 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1851, allocations: 0 / 0.6742 GB, free: 3.727 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.1852, allocations: 19.98 kB / 0.6742 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1852, allocations: 0 / 0.6742 GB, free: 3.707 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.1854, allocations: 128 kB / 0.6743 GB, free: 3.582 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.1886, allocations: 1.862 MB / 0.6761 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1888, allocations: 110.6 kB / 0.6763 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1889, allocations: 88.86 kB / 0.6763 GB, free: 1.465 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.189, allocations: 0 / 0.6763 GB, free: 1.465 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.1893, allocations: 256.8 kB / 0.6766 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.1893, allocations: 0 / 0.6766 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.001526/0.1908, allocations: 1.168 MB / 0.6777 GB, free: 8 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1909, allocations: 85.11 kB / 0.6778 GB, free: 15.91 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008477/0.1994, allocations: 6.275 MB / 0.6839 GB, free: 9.676 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/0.1995, allocations: 41.7 kB / 0.684 GB, free: 9.629 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/0.2018, allocations: 2.52 MB / 0.6864 GB, free: 7.105 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.202, allocations: 35.7 kB / 0.6865 GB, free: 7.07 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2022, allocations: 129.7 kB / 0.6866 GB, free: 6.938 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2023, allocations: 321.9 kB / 0.6869 GB, free: 6.617 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2024, allocations: 72 kB / 0.687 GB, free: 6.547 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2026, allocations: 87.98 kB / 0.6871 GB, free: 6.461 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.2029, allocations: 220.3 kB / 0.6873 GB, free: 6.23 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2029, allocations: 0 / 0.6873 GB, free: 6.23 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001457/0.2044, allocations: 1.093 MB / 0.6883 GB, free: 5.117 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2044, allocations: 40.98 kB / 0.6884 GB, free: 5.074 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2045, allocations: 0 / 0.6884 GB, free: 5.074 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2045, allocations: 0 / 0.6884 GB, free: 5.074 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.2046, allocations: 7.984 kB / 0.6884 GB, free: 5.066 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2046, allocations: 0 / 0.6884 GB, free: 5.066 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.2052, allocations: 31.88 kB / 0.6884 GB, free: 5.035 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.2054, allocations: 228 kB / 0.6886 GB, free: 4.812 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.001682/0.2071, allocations: 1.335 MB / 0.6899 GB, free: 3.465 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000667/0.2077, allocations: 0.5746 MB / 0.6905 GB, free: 2.883 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.2088, allocations: 0.648 MB / 0.6911 GB, free: 2.23 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2088, allocations: 4 kB / 0.6911 GB, free: 2.227 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2088, allocations: 96 / 0.6911 GB, free: 2.227 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2088, allocations: 3.938 kB / 0.6911 GB, free: 2.223 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.2112, allocations: 2.018 MB / 0.6931 GB, free: 160 kB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2112, allocations: 3.938 kB / 0.6931 GB, free: 156 kB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.2113, allocations: 11.98 kB / 0.6931 GB, free: 144 kB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2113, allocations: 0 / 0.6931 GB, free: 144 kB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/0.2114, allocations: 51.94 kB / 0.6932 GB, free: 92 kB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2114, allocations: 0 / 0.6932 GB, free: 92 kB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2114, allocations: 4 kB / 0.6932 GB, free: 88 kB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.2129, allocations: 1.168 MB / 0.6943 GB, free: 14.89 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/0.2137, allocations: 0.5601 MB / 0.6949 GB, free: 14.3 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.2141, allocations: 20 kB / 0.6949 GB, free: 14.28 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.2145, allocations: 24 kB / 0.6949 GB, free: 14.26 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.2146, allocations: 7.984 kB / 0.6949 GB, free: 14.25 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.2147, allocations: 220 kB / 0.6951 GB, free: 14.04 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.005865/0.2206, allocations: 4.324 MB / 0.6993 GB, free: 9.75 MB / 0.5452 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2206, allocations: 0 / 0.6993 GB, free: 9.75 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0007515/0.2214, allocations: 188 kB / 0.6995 GB, free: 9.566 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.001723/0.2231, allocations: 1.786 MB / 0.7013 GB, free: 7.742 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.2236, allocations: 279.6 kB / 0.7015 GB, free: 7.457 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2236, allocations: 0 / 0.7015 GB, free: 7.457 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2238, allocations: 195.3 kB / 0.7017 GB, free: 7.254 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.2251, allocations: 441.4 kB / 0.7021 GB, free: 6.82 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04579/0.2709, allocations: 32.66 MB / 0.734 GB, free: 6.047 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/0.2738, allocations: 2.728 MB / 0.7367 GB, free: 3.293 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.002256/0.2761, allocations: 1.137 MB / 0.7378 GB, free: 2.148 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/0.2779, allocations: 2.093 MB / 0.7399 GB, free: 56 kB / 0.5764 GB Notification: Performance of SimCode: time 1.082e-06/0.278, allocations: 0 / 0.7399 GB, free: 56 kB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7384/1.016, allocations: 80.55 MB / 0.8185 GB, free: 79.17 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.53/27.54, allocations: 8.484 kB / 0.8185 GB, free: 79.16 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