Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SDF_SDF.Examples.Playback.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.0008807/0.0008807, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008862/0.0008862, allocations: 169.8 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9197/0.9197, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.01154/0.01154, allocations: 0.8317 MB / 260 MB, free: 12.46 MB / 250.7 MB " [Timeout remaining time 180] Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(SDF.Examples.Playback,fileNamePrefix="SDF_SDF_Examples_Playback",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SDF.Examples.Playback,fileNamePrefix="SDF_SDF_Examples_Playback",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 383.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.023e-05, allocations: 2.281 kB / 383.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002296/0.002316, allocations: 1.631 MB / 384.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.004425, allocations: 1.831 MB / 386.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.004511, allocations: 4 kB / 386.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.007907, allocations: 195.6 kB / 386.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.008432, allocations: 138 kB / 386.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.008651, allocations: 79.59 kB / 387 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.00882, allocations: 167.4 kB / 387.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.008938, allocations: 25.19 kB / 387.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.009035, allocations: 75.77 kB / 387.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.009099, allocations: 35.89 kB / 387.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.009118, allocations: 15.94 kB / 387.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.009283, allocations: 127.7 kB / 387.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.0106, allocations: 3.251 MB / 390.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002141/0.01274, allocations: 2.239 MB / 392.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.01792, allocations: 8.232 MB / 401.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.01793, allocations: 0 / 401.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.01793, allocations: 0 / 401.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002012/0.01813, allocations: 3.984 kB / 401.1 MB, free: 12.85 MB / 378.7 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.02171/0.03984, allocations: 12.78 MB / 413.9 MB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.03989, allocations: 12.75 kB / 413.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.03993, allocations: 34.75 kB / 413.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.04323, allocations: 1.003 MB / 414.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/0.0679, allocations: 15.15 MB / 430.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.06793, allocations: 4.375 kB / 430.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.06794, allocations: 4.375 kB / 430.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.06814, allocations: 73.78 kB / 430.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.06815, allocations: 3.984 kB / 430.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.06816, allocations: 0 / 430.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.06816, allocations: 0 / 430.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.06827, allocations: 39.97 kB / 430.2 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01852/0.08679, allocations: 9.438 MB / 439.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.08707, allocations: 66.61 kB / 439.7 MB, free: 5.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.833e-05/0.08712, allocations: 28.84 kB / 439.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.08713, allocations: 0 / 439.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.08727, allocations: 79.38 kB / 439.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.08727, allocations: 0 / 439.8 MB, free: 5.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.003837/0.09111, allocations: 1.116 MB / 440.9 MB, free: 4.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.09115, allocations: 59.41 kB / 441 MB, free: 4.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1704/0.2616, allocations: 29.33 MB / 470.3 MB, free: 82.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2616, allocations: 32.33 kB / 470.4 MB, free: 82.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003534/0.2651, allocations: 3.93 MB / 474.3 MB, free: 79.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2652, allocations: 20.77 kB / 474.3 MB, free: 79.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.2652, allocations: 22.97 kB / 474.3 MB, free: 79.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.2653, allocations: 311.8 kB / 474.6 MB, free: 79.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.2653, allocations: 22.78 kB / 474.7 MB, free: 79.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.2654, allocations: 39.36 kB / 474.7 MB, free: 79.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.162e-05/0.2655, allocations: 65.56 kB / 474.8 MB, free: 79.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2655, allocations: 2.344 kB / 474.8 MB, free: 79.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.004503/0.27, allocations: 1.096 MB / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.27, allocations: 8.875 kB / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.27, allocations: 1.156 kB / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.27, allocations: 0 / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.2701, allocations: 16.84 kB / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2701, allocations: 4.625 kB / 475.9 MB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/0.2732, allocations: 489.9 kB / 476.4 MB, free: 79.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.2732, allocations: 4.844 kB / 476.4 MB, free: 79.31 MB / 410.7 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.timeTable.combiTimeTable.nextTimeEvent,$whenCondition1,timeTable.combiTimeTable.nextTimeEventScaled,$PRE.timeTable.combiTimeTable.nextTimeEventScaled,timeTable.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.002787/0.276, allocations: 2.765 MB / 479.1 MB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002503/0.2785, allocations: 1.005 MB / 480.1 MB, free: 78.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.28, allocations: 1.208 MB / 481.4 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.28, allocations: 3.938 kB / 481.4 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.28, allocations: 3.875 kB / 481.4 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2801, allocations: 0 / 481.4 MB, free: 77.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.2846, allocations: 3.607 MB / 485 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2846, allocations: 0 / 485 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.2846, allocations: 7.062 kB / 485 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2846, allocations: 0 / 485 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2847, allocations: 5.859 kB / 485 MB, free: 76.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2847, allocations: 7.5 kB / 485 MB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2847, allocations: 0 / 485 MB, free: 76.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.2875, allocations: 1.184 MB / 486.2 MB, free: 75.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/0.2912, allocations: 2.761 MB / 488.9 MB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/0.2929, allocations: 103.9 kB / 489 MB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/0.2958, allocations: 492.8 kB / 489.5 MB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.2959, allocations: 7.375 kB / 489.5 MB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2959, allocations: 2 kB / 489.5 MB, free: 74.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.02878/0.3247, allocations: 22.33 MB / 0.4999 GB, free: 55.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3247, allocations: 0 / 0.4999 GB, free: 55.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003982/0.3287, allocations: 0.7513 MB / 0.5006 GB, free: 55.01 MB / 410.7 MB 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,timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002988/0.3317, allocations: 2.202 MB / 0.5027 GB, free: 53.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3318, allocations: 63.14 kB / 0.5028 GB, free: 53.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3318, allocations: 0 / 0.5028 GB, free: 53.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.3319, allocations: 36.12 kB / 0.5028 GB, free: 53.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.3341, allocations: 0.8403 MB / 0.5037 GB, free: 52.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08134/0.4154, allocations: 85.73 MB / 0.5874 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.4182, allocations: 3.863 MB / 0.5912 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003249/0.4214, allocations: 2.53 MB / 0.5936 GB, free: 8.855 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008531/0.43, allocations: 8.301 MB / 0.6017 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of SimCode: time 1.502e-06/0.43, allocations: 0 / 0.6017 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/0.8171, allocations: 179.8 MB / 0.7774 GB, free: 17.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.91, allocations: 15.34 kB / 0.7774 GB, free: 17.3 MB / 474.7 MB " [Timeout remaining time 645] (rm -f SDF_SDF.Examples.Playback.pipe ; mkfifo SDF_SDF.Examples.Playback.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback.pipe >> ../files/SDF_SDF.Examples.Playback.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_SDF_SDF_Examples_Playback_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --mode=me --timeout=240 --tolerance=1e-06 ../SDF_SDF_Examples_Playback.fmu) > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 252.0] (rm -f SDF_SDF.Examples.Playback_OMSimulator-cs-cvode.pipe ; mkfifo SDF_SDF.Examples.Playback_OMSimulator-cs-cvode.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SDF_SDF.Examples.Playback_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_SDF_SDF_Examples_Playback_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --mode=cs --timeout=240 --tolerance=1e-06 ../SDF_SDF_Examples_Playback_OMSimulator-cs-cvode.fmu) > SDF_SDF.Examples.Playback_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f SDF_SDF.Examples.Playback_OMSimulator-cs-euler.pipe ; mkfifo SDF_SDF.Examples.Playback_OMSimulator-cs-euler.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SDF_SDF.Examples.Playback_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_SDF_SDF_Examples_Playback_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --mode=cs --timeout=240 --tolerance=1e-06 ../SDF_SDF_Examples_Playback_OMSimulator-cs-euler.fmu) > SDF_SDF.Examples.Playback_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f SDF_SDF.Examples.Playback_fmpy.pipe ; mkfifo SDF_SDF.Examples.Playback_fmpy.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SDF_SDF.Examples.Playback_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../SDF_SDF.Examples.Playback_fmpy_res.csv --start-time 0 --stop-time 4 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../SDF_SDF_Examples_Playback.fmu) > SDF_SDF.Examples.Playback_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 23.116237835027277]