Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000874/0.0008741, allocations: 176.4 kB / 15.43 MB, free: 6.203 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.283/1.283, 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.000982/0.000982, allocations: 94.62 kB / 293.1 MB, free: 12.91 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.08169/0.08169, allocations: 12 MB / 356.2 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 8.641 kB / 419.9 MB, free: 87.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09496, allocations: 53.07 MB / 473 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002495/0.09751, allocations: 2.28 MB / 475.3 MB, free: 34.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.1001, allocations: 3.104 MB / 478.4 MB, free: 30.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1004, allocations: 4 kB / 478.4 MB, free: 30.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1007, allocations: 75.64 kB / 478.5 MB, free: 30.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.101, allocations: 103.4 kB / 478.6 MB, free: 30.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.1019, allocations: 347 kB / 478.9 MB, free: 30.26 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1021, allocations: 238.8 kB / 479.1 MB, free: 30.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1023, allocations: 44.36 kB / 479.2 MB, free: 29.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1024, allocations: 71.66 kB / 479.3 MB, free: 29.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1025, allocations: 99.48 kB / 479.3 MB, free: 29.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1025, allocations: 8 kB / 479.4 MB, free: 29.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.1028, allocations: 191.8 kB / 479.5 MB, free: 29.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1029, allocations: 35.78 kB / 479.6 MB, free: 29.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.103, allocations: 129 kB / 479.7 MB, free: 29.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1033, allocations: 335.3 kB / 480 MB, free: 29.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1034, allocations: 0 / 480 MB, free: 29.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1034, allocations: 3.938 kB / 480 MB, free: 29.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.1034, allocations: 0 / 480 MB, free: 29.12 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005681/0.1039, allocations: 0.518 MB / 480.6 MB, free: 28.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.104, allocations: 12.03 kB / 480.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.104, allocations: 24.66 kB / 480.6 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1042, allocations: 250.8 kB / 480.8 MB, free: 28.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1043, allocations: 11.94 kB / 480.8 MB, free: 28.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1043, allocations: 12 kB / 480.9 MB, free: 28.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.1046, allocations: 157.5 kB / 481 MB, free: 28.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1046, allocations: 4 kB / 481 MB, free: 28.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1046, allocations: 7.984 kB / 481 MB, free: 28.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1046, allocations: 4 kB / 481 MB, free: 28.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1049, allocations: 156.4 kB / 481.2 MB, free: 27.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.1057, allocations: 0.8133 MB / 482 MB, free: 26.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.106, allocations: 106.7 kB / 482.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1061, allocations: 60.95 kB / 482.2 MB, free: 26.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.1062, allocations: 81.11 kB / 482.2 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.1062, allocations: 38.56 kB / 482.3 MB, free: 26.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.1062, allocations: 0 / 482.3 MB, free: 26.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001318/0.1075, allocations: 476.4 kB / 482.7 MB, free: 26.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.1076, allocations: 55.41 kB / 482.8 MB, free: 26.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.1078, allocations: 282.7 kB / 483.1 MB, free: 25.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1078, allocations: 25.7 kB / 483.1 MB, free: 25.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.1079, allocations: 155.7 kB / 483.2 MB, free: 25.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1079, allocations: 35.45 kB / 483.3 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1079, allocations: 4 kB / 483.3 MB, free: 25.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.108, allocations: 330.8 kB / 483.6 MB, free: 25.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1082, allocations: 71.95 kB / 483.7 MB, free: 25.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1084, allocations: 108.2 kB / 483.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.1087, allocations: 184.1 kB / 484 MB, free: 24.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1087, allocations: 0 / 484 MB, free: 24.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004305/0.1092, allocations: 233.1 kB / 484.2 MB, free: 24.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1092, allocations: 4 kB / 484.2 MB, free: 24.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1092, allocations: 4 kB / 484.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1092, allocations: 4.688 kB / 484.2 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1094, allocations: 39.97 kB / 484.2 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1095, allocations: 4 kB / 484.2 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.1096, allocations: 23.92 kB / 484.3 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.1097, allocations: 11.98 kB / 484.3 MB, free: 24.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.497e-05/0.1097, allocations: 138.4 kB / 484.4 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.1098, allocations: 27.66 kB / 484.4 MB, free: 24.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.1103, allocations: 220.9 kB / 484.7 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1103, allocations: 0 / 484.7 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1103, allocations: 4 kB / 484.7 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1103, allocations: 7.922 kB / 484.7 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1109, allocations: 0.5118 MB / 485.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1109, allocations: 0 / 485.2 MB, free: 23.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1111, allocations: 35.97 kB / 485.2 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1111, allocations: 0 / 485.2 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1111, allocations: 7.938 kB / 485.2 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1111, allocations: 0 / 485.2 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1111, allocations: 3.938 kB / 485.2 MB, free: 23.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.1115, allocations: 292.9 kB / 485.5 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1116, allocations: 124.7 kB / 485.6 MB, free: 23.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1116, allocations: 7.922 kB / 485.6 MB, free: 23.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1118, allocations: 19.98 kB / 485.7 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1118, allocations: 11.98 kB / 485.7 MB, free: 23.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1118, allocations: 4 kB / 485.7 MB, free: 23.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.112, allocations: 210 kB / 485.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.112, allocations: 0 / 485.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003249/0.1123, allocations: 83.98 kB / 486 MB, free: 22.73 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 (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0008218/0.1132, allocations: 468.8 kB / 486.4 MB, free: 22.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.1136, allocations: 155.8 kB / 486.6 MB, free: 22.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1136, allocations: 4.188 kB / 486.6 MB, free: 22.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.1138, allocations: 72.33 kB / 486.7 MB, free: 22.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1143, allocations: 56.39 kB / 486.7 MB, free: 22.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.1148, allocations: 493.8 kB / 487.2 MB, free: 21.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.115, allocations: 0.7401 MB / 487.9 MB, free: 20.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.1151, allocations: 37.94 kB / 488 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.1151, allocations: 15.44 kB / 488 MB, free: 20.77 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1151, allocations: 4 kB / 488 MB, free: 20.77 MB / 330.7 MB Notification: Performance of Templates: time 0.006075/0.1212, allocations: 3.632 MB / 491.6 MB, free: 17.15 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1)