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.001427/0.001427, 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.001355/0.001355, allocations: 165.9 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.896/0.896, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.003518/0.003518, allocations: 0.8357 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: "" <> buildModelFMU(SDF.Examples.Playback,fileNamePrefix="SDF_SDF_Examples_Playback",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SDF.Examples.Playback,fileNamePrefix="SDF_SDF_Examples_Playback",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 382.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.191e-05, allocations: 2.281 kB / 382.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002288/0.0023, allocations: 1.62 MB / 383.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.004271, allocations: 1.839 MB / 385.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.641e-05/0.004347, allocations: 3.938 kB / 385.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.005858, allocations: 196.2 kB / 386 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.006217, allocations: 137.1 kB / 386.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.006377, allocations: 79.67 kB / 386.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.006549, allocations: 167.4 kB / 386.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.006649, allocations: 17.19 kB / 386.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.006745, allocations: 91.69 kB / 386.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.006798, allocations: 31.91 kB / 386.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.006814, allocations: 8 kB / 386.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.006956, allocations: 123.8 kB / 386.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.008285, allocations: 3.258 MB / 389.9 MB, free: 8.109 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.01033, allocations: 2.239 MB / 392.1 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.01499, allocations: 8.232 MB / 400.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01499, allocations: 0 / 400.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01499, allocations: 0 / 400.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002088/0.0152, allocations: 0 / 400.3 MB, free: 13.61 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.01761/0.03281, allocations: 12.78 MB / 413.1 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.03286, allocations: 12.75 kB / 413.1 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.0329, allocations: 42.73 kB / 413.2 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.03463, allocations: 1.003 MB / 414.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/0.04863, allocations: 15.15 MB / 429.3 MB, free: 452 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.04865, allocations: 384 / 429.3 MB, free: 452 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.04866, allocations: 4.375 kB / 429.3 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.04881, allocations: 69.97 kB / 429.4 MB, free: 372 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.04882, allocations: 0 / 429.4 MB, free: 372 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.04883, allocations: 4 kB / 429.4 MB, free: 368 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.04883, allocations: 0 / 429.4 MB, free: 368 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.04892, allocations: 47.91 kB / 429.4 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01093/0.05985, allocations: 9.438 MB / 438.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.06008, allocations: 70.59 kB / 439 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.06013, allocations: 24.84 kB / 439 MB, free: 6.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.06015, allocations: 7.938 kB / 439 MB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.06029, allocations: 79.33 kB / 439.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.0603, allocations: 0 / 439.1 MB, free: 6.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001595/0.06189, allocations: 1.116 MB / 440.2 MB, free: 5.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.06192, allocations: 51.41 kB / 440.2 MB, free: 5.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1892/0.2511, allocations: 29.33 MB / 469.6 MB, free: 82.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2511, allocations: 25.7 kB / 469.6 MB, free: 82.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002594/0.2537, allocations: 3.937 MB / 473.5 MB, free: 79.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.2538, allocations: 20.98 kB / 473.5 MB, free: 79.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.2538, allocations: 23.78 kB / 473.6 MB, free: 79.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.2539, allocations: 314.8 kB / 473.9 MB, free: 79.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.254, allocations: 23.44 kB / 473.9 MB, free: 79.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.254, allocations: 35.98 kB / 473.9 MB, free: 79.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.67e-05/0.2541, allocations: 67.09 kB / 474 MB, free: 79.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2541, allocations: 0 / 474 MB, free: 79.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.004199/0.2583, allocations: 1.096 MB / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2584, allocations: 11.03 kB / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2584, allocations: 1.438 kB / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2584, allocations: 0 / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.2585, allocations: 17.89 kB / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2585, allocations: 1.5 kB / 475.1 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.2605, allocations: 486.2 kB / 475.6 MB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2605, allocations: 2.438 kB / 475.6 MB, free: 79.05 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.002199/0.2627, allocations: 2.768 MB / 478.4 MB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/0.2639, allocations: 1.006 MB / 479.4 MB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007228/0.2646, allocations: 1.207 MB / 480.6 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2646, allocations: 3.938 kB / 480.6 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2646, allocations: 5.438 kB / 480.6 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2646, allocations: 3.625 kB / 480.6 MB, free: 77.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.2667, allocations: 3.602 MB / 484.2 MB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2667, allocations: 0 / 484.2 MB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.2668, allocations: 5.344 kB / 484.2 MB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2668, allocations: 2.656 kB / 484.2 MB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2668, allocations: 5.219 kB / 484.2 MB, free: 76.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.2668, allocations: 3.938 kB / 484.2 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2668, allocations: 2.688 kB / 484.2 MB, free: 76.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.2679, allocations: 1.181 MB / 485.4 MB, free: 75.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/0.2703, allocations: 2.777 MB / 488.2 MB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007047/0.271, allocations: 95.31 kB / 488.3 MB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.2726, allocations: 488.1 kB / 488.7 MB, free: 74.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.2727, allocations: 7.281 kB / 488.8 MB, free: 74.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.2727, allocations: 7.812 kB / 488.8 MB, free: 74.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01544/0.2881, allocations: 22.33 MB / 0.4991 GB, free: 56.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2881, allocations: 0 / 0.4991 GB, free: 56.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002085/0.2902, allocations: 0.7506 MB / 0.4998 GB, free: 55.66 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.002272/0.2925, allocations: 2.192 MB / 0.502 GB, free: 53.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2926, allocations: 64.69 kB / 0.502 GB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2927, allocations: 0 / 0.502 GB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.2927, allocations: 31.5 kB / 0.5021 GB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.2945, allocations: 0.849 MB / 0.5029 GB, free: 52.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09806/0.3925, allocations: 85.74 MB / 0.5866 GB, free: 44 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/0.3964, allocations: 3.863 MB / 0.5904 GB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003776/0.4002, allocations: 2.538 MB / 0.5929 GB, free: 9.582 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008797/0.409, allocations: 8.289 MB / 0.601 GB, free: 1.293 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.409, allocations: 0 / 0.601 GB, free: 1.293 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3756/0.7846, allocations: 179.7 MB / 0.7765 GB, free: 18.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.26/18.05, allocations: 7.859 kB / 0.7765 GB, free: 18.09 MB / 474.7 MB " [Timeout remaining time 641] (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 --timeout=50 --tolerance=1e-06 ../SDF_SDF_Examples_Playback.fmu) > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 52.5] (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 50 --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 52.5] [Calling sys.exit(0), Time elapsed: 22.334828397259116]