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.0007994/0.0007994, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001323/0.001323, allocations: 212.7 kB / 22.25 MB, free: 3.719 MB / 13.93 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.005417/0.005417, allocations: 1.086 MB / 313.5 MB, free: 0.8516 MB / 234.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: SDF 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.001678/0.001678, allocations: 73.14 kB / 435.8 MB, free: 46.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08617, allocations: 53.6 MB / 489.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002577/0.08875, allocations: 1.619 MB / 491 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.09082, allocations: 1.829 MB / 492.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.09091, allocations: 0 / 492.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.0928, allocations: 200.4 kB / 493 MB, free: 7.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.09323, allocations: 133 kB / 493.1 MB, free: 7.773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.09342, allocations: 87.66 kB / 493.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.0936, allocations: 151.5 kB / 493.4 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.09372, allocations: 17.55 kB / 493.4 MB, free: 7.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.09381, allocations: 67.64 kB / 493.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.09388, allocations: 47.78 kB / 493.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.09389, allocations: 11.98 kB / 493.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.09408, allocations: 127.8 kB / 493.6 MB, free: 7.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.09543, allocations: 3.203 MB / 496.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.09754, allocations: 2.865 MB / 499.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005982/0.1035, allocations: 8.796 MB / 0.4966 GB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1035, allocations: 0 / 0.4966 GB, free: 8.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1035, allocations: 0 / 0.4966 GB, free: 8.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002696/0.1038, allocations: 0 / 0.4966 GB, free: 8.332 MB / 362.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.02081/0.1246, allocations: 11.74 MB / 0.508 GB, free: 12.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.1247, allocations: 12.03 kB / 0.5081 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1247, allocations: 38.62 kB / 0.5081 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.1274, allocations: 0.9088 MB / 0.509 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/0.1486, allocations: 14.68 MB / 0.5233 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1487, allocations: 384 / 0.5233 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1487, allocations: 7.938 kB / 0.5233 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1489, allocations: 65.66 kB / 0.5234 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1489, allocations: 0 / 0.5234 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1489, allocations: 8 kB / 0.5234 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1489, allocations: 0 / 0.5234 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.149, allocations: 43.91 kB / 0.5234 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.1678, allocations: 8.965 MB / 0.5322 GB, free: 3.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.1681, allocations: 70.61 kB / 0.5323 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1681, allocations: 24.84 kB / 0.5323 GB, free: 3.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1682, allocations: 4 kB / 0.5323 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1683, allocations: 75.33 kB / 0.5324 GB, free: 3.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.1683, allocations: 0 / 0.5324 GB, free: 3.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.003644/0.172, allocations: 1.027 MB / 0.5334 GB, free: 2.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.172, allocations: 51.41 kB / 0.5334 GB, free: 2.312 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2468/0.4188, allocations: 28.86 MB / 0.5616 GB, free: 49.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4188, allocations: 26.86 kB / 0.5616 GB, free: 49.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004031/0.4229, allocations: 3.936 MB / 0.5655 GB, free: 46.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.4229, allocations: 17.09 kB / 0.5655 GB, free: 46.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.423, allocations: 21.48 kB / 0.5655 GB, free: 46.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.423, allocations: 317.2 kB / 0.5658 GB, free: 46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.4231, allocations: 22.61 kB / 0.5658 GB, free: 46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.4232, allocations: 40.28 kB / 0.5659 GB, free: 45.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.4233, allocations: 62.2 kB / 0.5659 GB, free: 45.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4233, allocations: 3.062 kB / 0.5659 GB, free: 45.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.005036/0.4283, allocations: 1.008 MB / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4283, allocations: 6.031 kB / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4283, allocations: 0 / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.4284, allocations: 0.7969 kB / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.4285, allocations: 15.33 kB / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4285, allocations: 0.7031 kB / 0.5669 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.4316, allocations: 299.3 kB / 0.5672 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.4316, allocations: 3.844 kB / 0.5672 GB, free: 45.88 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.003108/0.4347, allocations: 2.766 MB / 0.5699 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002717/0.4374, allocations: 0.9131 MB / 0.5708 GB, free: 44.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.439, allocations: 1.208 MB / 0.572 GB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.439, allocations: 7.188 kB / 0.572 GB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.439, allocations: 1.375 kB / 0.572 GB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.439, allocations: 0 / 0.572 GB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.443, allocations: 3.514 MB / 0.5754 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.443, allocations: 0 / 0.5754 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.4431, allocations: 6.688 kB / 0.5754 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.4431, allocations: 3.25 kB / 0.5754 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4431, allocations: 3.984 kB / 0.5754 GB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4431, allocations: 6.812 kB / 0.5755 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4431, allocations: 0 / 0.5755 GB, free: 43.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.4456, allocations: 1.083 MB / 0.5765 GB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003817/0.4494, allocations: 2.682 MB / 0.5791 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/0.4511, allocations: 2 kB / 0.5791 GB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/0.4537, allocations: 305.6 kB / 0.5794 GB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.4537, allocations: 3.984 kB / 0.5794 GB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4538, allocations: 3.75 kB / 0.5794 GB, free: 40.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0229/0.4767, allocations: 21.95 MB / 0.6009 GB, free: 24.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4767, allocations: 3.844 kB / 0.6009 GB, free: 24.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003873/0.4805, allocations: 0.6589 MB / 0.6015 GB, free: 24.23 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.004409/0.4849, allocations: 2.094 MB / 0.6036 GB, free: 22.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.4851, allocations: 59.91 kB / 0.6036 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4851, allocations: 0 / 0.6036 GB, free: 22.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.4852, allocations: 43.77 kB / 0.6037 GB, free: 22.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004949/0.4901, allocations: 0.6604 MB / 0.6043 GB, free: 21.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/0.5989, allocations: 84.5 MB / 0.6868 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/0.602, allocations: 3.875 MB / 0.6906 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004023/0.606, allocations: 2.538 MB / 0.6931 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008544/0.6145, allocations: 7.726 MB / 0.7006 GB, free: 2.691 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/0.6145, allocations: 0 / 0.7006 GB, free: 2.691 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4205/1.035, allocations: 182.5 MB / 0.8788 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.24, allocations: 7.938 kB / 0.8788 GB, free: 65.43 MB / 0.5261 GB " [Timeout remaining time 644] (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: 19.82884979620576]