Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 212.2 kB / 20.75 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8185/0.8185, allocations: 120.6 MB / 430.7 MB, free: 248 kB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.89 kB / 0.6015 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6706, allocations: 85.81 MB / 0.6853 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003047/0.6737, allocations: 1.442 MB / 0.6868 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.675, allocations: 0.5953 MB / 0.6873 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.6751, allocations: 5.25 kB / 0.6873 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.676, allocations: 0.8697 MB / 0.6882 GB, free: 12.92 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.677, allocations: 0.906 MB / 0.6891 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.6773, allocations: 76.14 kB / 0.6892 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.6797, allocations: 2.189 MB / 0.6913 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.6797, allocations: 6.688 kB / 0.6913 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.6817, allocations: 1.094 MB / 0.6924 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/0.6849, allocations: 2.286 MB / 0.6946 GB, free: 9.406 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.6852, allocations: 132 kB / 0.6947 GB, free: 9.277 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.6856, allocations: 203.9 kB / 0.6949 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.005765/0.6914, allocations: 5.127 MB / 0.6999 GB, free: 3.938 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.003438/0.6948, allocations: 2.828 MB / 0.7027 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.006924/0.7017, allocations: 6.308 MB / 0.7088 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.7017, allocations: 0 / 0.7088 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of FrontEnd: time 2.726e-06/0.7017, allocations: 0 / 0.7088 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.000203/0.7019, allocations: 0 / 0.7088 GB, free: 10.73 MB / 0.5295 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.01427/0.7162, allocations: 10.39 MB / 0.719 GB, free: 204 kB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7163, allocations: 12.03 kB / 0.719 GB, free: 192 kB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.7163, allocations: 30.75 kB / 0.719 GB, free: 152 kB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.7181, allocations: 1.169 MB / 0.7202 GB, free: 14.97 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02814/0.7462, allocations: 13.14 MB / 0.733 GB, free: 1.73 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.7462, allocations: 4.375 kB / 0.733 GB, free: 1.727 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.7464, allocations: 36.38 kB / 0.733 GB, free: 1.691 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.7472, allocations: 433.4 kB / 0.7335 GB, free: 1.262 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7472, allocations: 0 / 0.7335 GB, free: 1.262 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.7473, allocations: 32 kB / 0.7335 GB, free: 1.23 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.7473, allocations: 0 / 0.7335 GB, free: 1.23 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.7477, allocations: 236 kB / 0.7337 GB, free: 1 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.7551, allocations: 3.572 MB / 0.7372 GB, free: 13.38 MB / 0.5608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.7556, allocations: 162.5 kB / 0.7374 GB, free: 13.21 MB / 0.5608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.756, allocations: 144.9 kB / 0.7375 GB, free: 13.07 MB / 0.5608 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.756, allocations: 4 kB / 0.7375 GB, free: 13.07 MB / 0.5608 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/0.7567, allocations: 412.6 kB / 0.7379 GB, free: 12.64 MB / 0.5608 GB Notification: Performance of pre-optimization done (n=8): time 2.485e-06/0.7567, allocations: 0 / 0.7379 GB, free: 12.64 MB / 0.5608 GB Notification: Performance of matching and sorting (n=8): time 0.004467/0.7612, allocations: 2.253 MB / 0.7401 GB, free: 10.37 MB / 0.5608 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.7613, allocations: 77.11 kB / 0.7402 GB, free: 10.28 MB / 0.5608 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02475/0.786, allocations: 12.47 MB / 0.7523 GB, free: 13.91 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.7863, allocations: 57.7 kB / 0.7524 GB, free: 13.85 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.007382/0.7937, allocations: 5.208 MB / 0.7575 GB, free: 8.637 MB / 0.5764 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.794, allocations: 51.84 kB / 0.7575 GB, free: 8.586 MB / 0.5764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.7946, allocations: 237.7 kB / 0.7578 GB, free: 8.348 MB / 0.5764 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7948, allocations: 314 kB / 0.7581 GB, free: 8.035 MB / 0.5764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.7951, allocations: 143.9 kB / 0.7582 GB, free: 7.895 MB / 0.5764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.7954, allocations: 143.9 kB / 0.7583 GB, free: 7.754 MB / 0.5764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.796, allocations: 352.2 kB / 0.7587 GB, free: 7.395 MB / 0.5764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.796, allocations: 4 kB / 0.7587 GB, free: 7.391 MB / 0.5764 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003369/0.7994, allocations: 2.12 MB / 0.7607 GB, free: 5.25 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/0.7994, allocations: 37.62 kB / 0.7608 GB, free: 5.207 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.7995, allocations: 4 kB / 0.7608 GB, free: 5.203 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.7995, allocations: 0 / 0.7608 GB, free: 5.203 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.7996, allocations: 4 kB / 0.7608 GB, free: 5.199 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7996, allocations: 0 / 0.7608 GB, free: 5.199 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.8013, allocations: 32 kB / 0.7608 GB, free: 5.168 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/0.8017, allocations: 444 kB / 0.7612 GB, free: 4.734 MB / 0.5764 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.00448/0.8062, allocations: 2.527 MB / 0.7637 GB, free: 2.191 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/0.8084, allocations: 1.207 MB / 0.7649 GB, free: 0.9766 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.8113, allocations: 1.288 MB / 0.7661 GB, free: 15.68 MB / 0.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.8113, allocations: 0 / 0.7661 GB, free: 15.68 MB / 0.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8114, allocations: 0 / 0.7661 GB, free: 15.68 MB / 0.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8114, allocations: 0 / 0.7661 GB, free: 15.68 MB / 0.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/0.8202, allocations: 3.884 MB / 0.7699 GB, free: 11.75 MB / 0.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.8203, allocations: 3.938 kB / 0.7699 GB, free: 11.75 MB / 0.592 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.8203, allocations: 4 kB / 0.7699 GB, free: 11.75 MB / 0.592 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.8203, allocations: 4 kB / 0.7699 GB, free: 11.74 MB / 0.592 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004253/0.8208, allocations: 104 kB / 0.77 GB, free: 11.64 MB / 0.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8208, allocations: 3.938 kB / 0.77 GB, free: 11.64 MB / 0.592 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8208, allocations: 0 / 0.77 GB, free: 11.64 MB / 0.592 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/0.8252, allocations: 2.227 MB / 0.7722 GB, free: 9.379 MB / 0.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/0.8282, allocations: 1.099 MB / 0.7733 GB, free: 8.254 MB / 0.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/0.8293, allocations: 32 kB / 0.7733 GB, free: 8.223 MB / 0.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.8305, allocations: 36.09 kB / 0.7734 GB, free: 8.188 MB / 0.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.8305, allocations: 7.938 kB / 0.7734 GB, free: 8.18 MB / 0.592 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000434/0.831, allocations: 448 kB / 0.7738 GB, free: 7.742 MB / 0.592 GB Notification: Performance of sorting global known variables: time 0.01762/0.8486, allocations: 8.567 MB / 0.7822 GB, free: 15.25 MB / 0.6077 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8486, allocations: 0 / 0.7822 GB, free: 15.25 MB / 0.6077 GB Notification: Performance of remove unused functions: time 0.002131/0.8507, allocations: 347.9 kB / 0.7825 GB, free: 14.91 MB / 0.6077 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.004885/0.8556, allocations: 2.883 MB / 0.7853 GB, free: 11.99 MB / 0.6077 GB Notification: Performance of simCode: created initialization part: time 0.0008201/0.8564, allocations: 391.4 kB / 0.7857 GB, free: 11.59 MB / 0.6077 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.8564, allocations: 0 / 0.7857 GB, free: 11.59 MB / 0.6077 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.8568, allocations: 239.3 kB / 0.7859 GB, free: 11.35 MB / 0.6077 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.8615, allocations: 0.8536 MB / 0.7867 GB, free: 10.49 MB / 0.6077 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1405/1.002, allocations: 65.05 MB / 0.8503 GB, free: 9.305 MB / 0.6702 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006651/1.009, allocations: 4.789 MB / 0.8549 GB, free: 4.488 MB / 0.6702 GB Notification: Performance of simCode: alias equations: time 0.00562/1.014, allocations: 2.375 MB / 0.8573 GB, free: 2.102 MB / 0.6702 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00586/1.02, allocations: 4.405 MB / 0.8616 GB, free: 13.69 MB / 0.6858 GB Notification: Performance of SimCode: time 2.786e-06/1.02, allocations: 0 / 0.8616 GB, free: 13.69 MB / 0.6858 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8921/1.912, allocations: 157.7 MB / 1.016 GB, free: 42.26 MB / 0.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 73.95/75.87, allocations: 12.08 kB / 1.016 GB, free: 42.25 MB / 0.686 GB " [Timeout remaining time 224] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 80.27365448884666]