Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.0009791/0.0009791, 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.0009802/0.0009802, 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.9734/0.9734, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03401/0.03401, allocations: 8.703 MB / 267.9 MB, free: 4.746 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/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(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 394.9 MB, free: 1.254 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.411e-05, allocations: 2.281 kB / 394.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003343/0.003367, allocations: 2.677 MB / 397.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.006261, allocations: 2.359 MB / 400 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.006412, allocations: 7.938 kB / 400 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.006779, allocations: 95.27 kB / 400.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.007237, allocations: 226.5 kB / 400.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.007955, allocations: 486.1 kB / 400.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.00837, allocations: 421.7 kB / 401.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.008538, allocations: 36.92 kB / 401.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.00887, allocations: 211.4 kB / 401.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.009074, allocations: 123.6 kB / 401.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.009112, allocations: 20 kB / 401.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.009517, allocations: 275.7 kB / 401.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.009631, allocations: 67.7 kB / 401.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.009734, allocations: 99.64 kB / 402 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.01072, allocations: 0.5569 MB / 402.6 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.01072, allocations: 4 kB / 402.6 MB, free: 9.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01073, allocations: 4 kB / 402.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.01073, allocations: 4 kB / 402.6 MB, free: 9.586 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007491/0.01148, allocations: 0.58 MB / 403.2 MB, free: 8.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.01154, allocations: 8.031 kB / 403.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.01161, allocations: 62.72 kB / 403.2 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.01175, allocations: 44.7 kB / 403.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.01211, allocations: 245.7 kB / 403.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.01213, allocations: 16.88 kB / 403.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.01216, allocations: 27.88 kB / 403.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.01248, allocations: 228.1 kB / 403.8 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.0125, allocations: 0 / 403.8 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.01251, allocations: 4 kB / 403.8 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01252, allocations: 4 kB / 403.8 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.01284, allocations: 249.9 kB / 404 MB, free: 8.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01389, allocations: 0.6771 MB / 404.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.01432, allocations: 178.7 kB / 404.9 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.01444, allocations: 76.81 kB / 405 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-05/0.01452, allocations: 23.97 kB / 405 MB, free: 7.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.01454, allocations: 34.5 kB / 405 MB, free: 7.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.01454, allocations: 0 / 405 MB, free: 7.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.01388/0.02842, allocations: 3.166 MB / 408.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.02846, allocations: 59.34 kB / 408.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.02878, allocations: 369.6 kB / 408.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.02883, allocations: 33.7 kB / 408.6 MB, free: 3.332 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.02893, allocations: 180.9 kB / 408.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.029, allocations: 107 kB / 408.9 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02913, allocations: 81.64 kB / 409 MB, free: 2.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003798/0.02951, allocations: 346.8 kB / 409.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.03009, allocations: 323.8 kB / 409.6 MB, free: 2.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.03067, allocations: 384 kB / 410 MB, free: 1.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.03184, allocations: 0.6481 MB / 410.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.03184, allocations: 0 / 410.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001886/0.03372, allocations: 1.01 MB / 411.7 MB, free: 232 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.03375, allocations: 10.97 kB / 411.7 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.03375, allocations: 0 / 411.7 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1954/0.2292, allocations: 1.111 MB / 412.8 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.2294, allocations: 50.69 kB / 412.8 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/0.2331, allocations: 2.033 MB / 414.9 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.2335, allocations: 58.31 kB / 414.9 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.2336, allocations: 20.05 kB / 415 MB, free: 27.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.2338, allocations: 159.6 kB / 415.1 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.2339, allocations: 37.28 kB / 415.1 MB, free: 27.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.2364, allocations: 1.074 MB / 416.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2364, allocations: 6.281 kB / 416.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.2365, allocations: 1.781 kB / 416.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2365, allocations: 4.562 kB / 416.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/0.2404, allocations: 1.915 MB / 418.2 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2404, allocations: 1.781 kB / 418.2 MB, free: 25.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2405, allocations: 56.12 kB / 418.2 MB, free: 25.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.2421, allocations: 0.9584 MB / 419.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.2421, allocations: 17.56 kB / 419.2 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.2444, allocations: 1.845 MB / 421 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2444, allocations: 0 / 421 MB, free: 24.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.2463, allocations: 0.9862 MB / 422 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.2465, allocations: 101.2 kB / 422.1 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.792e-05/0.2466, allocations: 11.45 kB / 422.1 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.2469, allocations: 54.56 kB / 422.2 MB, free: 23.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.247, allocations: 24.62 kB / 422.2 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.247, allocations: 22.08 kB / 422.2 MB, free: 23.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.2473, allocations: 265.5 kB / 422.5 MB, free: 23.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2473, allocations: 0 / 422.5 MB, free: 23.72 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006959/0.248, allocations: 240 kB / 422.7 MB, free: 23.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003378/0.2513, allocations: 2.017 MB / 424.7 MB, free: 22.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.2543, allocations: 0.8943 MB / 425.6 MB, free: 22.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2543, allocations: 0 / 425.6 MB, free: 22.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.2556, allocations: 473.8 kB / 426.1 MB, free: 22.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2561, allocations: 87.48 kB / 426.2 MB, free: 22.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007873/0.264, allocations: 5.123 MB / 431.3 MB, free: 19.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.2641, allocations: 186.9 kB / 431.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.2643, allocations: 55.34 kB / 431.5 MB, free: 19.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.2645, allocations: 112.3 kB / 431.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.2645, allocations: 0 / 431.6 MB, free: 19.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09414/0.3586, allocations: 20.41 MB / 452.1 MB, free: 1.199 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.215/9.573, allocations: 14.73 kB / 452.1 MB, free: 1.188 MB / 330.7 MB " [Timeout remaining time 650] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../OpenHydraulics_OpenHydraulics_DevelopmentTests_ThrottleValveTest2.fmu) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.900283804163337]