Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 177.6 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.7 MB / 241.9 MB, free: 404 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 94.25 kB / 293.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.053/0.053, allocations: 12 MB / 356.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8.188 kB / 419.9 MB, free: 87.2 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.0768, allocations: 53.07 MB / 473 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.001704/0.07854, allocations: 1.999 MB / 475 MB, free: 34.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007049/0.07926, allocations: 0.8069 MB / 475.8 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.07935, allocations: 0 / 475.8 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.07938, allocations: 11.92 kB / 475.8 MB, free: 33.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.07962, allocations: 67.52 kB / 475.9 MB, free: 33.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.278e-05/0.07971, allocations: 23.97 kB / 475.9 MB, free: 33.42 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.07985, allocations: 139.2 kB / 476 MB, free: 33.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.07995, allocations: 37.09 kB / 476.1 MB, free: 33.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.08005, allocations: 59.72 kB / 476.1 MB, free: 33.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.08013, allocations: 51.77 kB / 476.2 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.08015, allocations: 4 kB / 476.2 MB, free: 33.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-05/0.08022, allocations: 12 kB / 476.2 MB, free: 33.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.08024, allocations: 15.92 kB / 476.2 MB, free: 33.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.08031, allocations: 85.36 kB / 476.3 MB, free: 33.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.08043, allocations: 103.9 kB / 476.4 MB, free: 32.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.08045, allocations: 0 / 476.4 MB, free: 32.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08045, allocations: 4 kB / 476.4 MB, free: 32.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.08046, allocations: 0 / 476.4 MB, free: 32.91 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003977/0.08086, allocations: 436.7 kB / 476.8 MB, free: 32.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.0809, allocations: 8.031 kB / 476.8 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.08094, allocations: 16.75 kB / 476.9 MB, free: 32.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.08109, allocations: 192.2 kB / 477 MB, free: 32.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.08111, allocations: 12.31 kB / 477.1 MB, free: 32.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.08113, allocations: 16.12 kB / 477.1 MB, free: 32.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.08136, allocations: 106.5 kB / 477.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.08137, allocations: 3.938 kB / 477.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.08141, allocations: 4 kB / 477.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.08142, allocations: 0 / 477.2 MB, free: 32.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.08165, allocations: 95.94 kB / 477.3 MB, free: 31.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.08217, allocations: 0.5822 MB / 477.9 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.08237, allocations: 90.53 kB / 478 MB, free: 31.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.08249, allocations: 56.95 kB / 478 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.08251, allocations: 0 / 478 MB, free: 31.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.149e-05/0.08253, allocations: 38.56 kB / 478 MB, free: 31.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.08254, allocations: 3.938 kB / 478 MB, free: 31.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001319/0.08386, allocations: 472.4 kB / 478.5 MB, free: 30.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.0839, allocations: 77.11 kB / 478.6 MB, free: 30.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.08399, allocations: 155.4 kB / 478.7 MB, free: 30.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.08401, allocations: 25.7 kB / 478.8 MB, free: 30.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.08405, allocations: 104 kB / 478.9 MB, free: 30.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.08408, allocations: 31.47 kB / 478.9 MB, free: 30.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.08409, allocations: 4 kB / 478.9 MB, free: 30.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.08414, allocations: 322.8 kB / 479.2 MB, free: 29.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.08431, allocations: 59.95 kB / 479.3 MB, free: 29.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.08448, allocations: 69.67 kB / 479.3 MB, free: 29.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.08481, allocations: 193.8 kB / 479.5 MB, free: 29.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.08482, allocations: 0 / 479.5 MB, free: 29.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000379/0.0852, allocations: 207 kB / 479.7 MB, free: 29.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.08523, allocations: 29.7 kB / 479.8 MB, free: 29.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.08524, allocations: 4 kB / 479.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.08526, allocations: 0 / 479.8 MB, free: 29.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.08545, allocations: 31.97 kB / 479.8 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.08546, allocations: 0 / 479.8 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.08559, allocations: 24 kB / 479.8 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.0856, allocations: 8 kB / 479.8 MB, free: 29.17 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 6.598e-05/0.08567, allocations: 144.1 kB / 480 MB, free: 29.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.08571, allocations: 15.84 kB / 480 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.08617, allocations: 228 kB / 480.2 MB, free: 28.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.08618, allocations: 7.984 kB / 480.2 MB, free: 28.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.08619, allocations: 0 / 480.2 MB, free: 28.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.0862, allocations: 4 kB / 480.2 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.08637, allocations: 233.4 kB / 480.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.08638, allocations: 0 / 480.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.08654, allocations: 43.84 kB / 480.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.08655, allocations: 0 / 480.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.08656, allocations: 0 / 480.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.08657, allocations: 0 / 480.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.08658, allocations: 8.094 kB / 480.5 MB, free: 28.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.08698, allocations: 313.1 kB / 480.8 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.114e-05/0.08705, allocations: 104.8 kB / 480.9 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.08707, allocations: 0 / 480.9 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.08722, allocations: 19.98 kB / 480.9 MB, free: 27.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.08727, allocations: 15.98 kB / 480.9 MB, free: 27.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.08729, allocations: 4 kB / 480.9 MB, free: 27.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.242e-05/0.08735, allocations: 113.5 kB / 481.1 MB, free: 27.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08735, allocations: 0 / 481.1 MB, free: 27.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.08758, allocations: 32 kB / 481.1 MB, free: 27.8 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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 9.726e-05/0.08768, allocations: 119.2 kB / 481.2 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.08809, allocations: 191.3 kB / 481.4 MB, free: 27.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.0881, allocations: 0 / 481.4 MB, free: 27.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.08829, allocations: 135.4 kB / 481.5 MB, free: 27.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.08861, allocations: 35.91 kB / 481.6 MB, free: 27.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.089, allocations: 345.2 kB / 481.9 MB, free: 26.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.08911, allocations: 0.7164 MB / 482.6 MB, free: 26.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.08919, allocations: 17.22 kB / 482.6 MB, free: 26.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.08923, allocations: 15.42 kB / 482.6 MB, free: 26.16 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.08924, allocations: 4 kB / 482.6 MB, free: 26.15 MB / 330.7 MB Notification: Performance of Templates: time 0.00364/0.09288, allocations: 1.882 MB / 484.5 MB, free: 24.29 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)