Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.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.001793/0.001793, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.00204/0.00204, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.06248/0.06248, allocations: 8.705 MB / 268.3 MB, free: 4.602 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: translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 340.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.539e-05, allocations: 5.125 kB / 340.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple): time 0.00808/0.008115, allocations: 9.242 MB / 349.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.01785, allocations: 4.838 MB / 354.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.01893, allocations: 43.69 kB / 354.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.02029, allocations: 0.6171 MB / 354.9 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.02326, allocations: 1.289 MB / 356.2 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.02704, allocations: 1.551 MB / 357.7 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.03224, allocations: 3.596 MB / 361.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.03324, allocations: 487 kB / 361.8 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.03615, allocations: 1.766 MB / 363.5 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.038, allocations: 1.126 MB / 364.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004569/0.03846, allocations: 251.9 kB / 364.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.03952, allocations: 467.7 kB / 365.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009619/0.04048, allocations: 0.6773 MB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.04176, allocations: 0.896 MB / 366.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.04659, allocations: 3.642 MB / 370.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.04659, allocations: 0 / 370.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04659, allocations: 0 / 370.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.638e-05/0.04665, allocations: 0 / 370.6 MB, free: 9.828 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.00645/0.0531, allocations: 3.386 MB / 374 MB, free: 6.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.05314, allocations: 8.031 kB / 374 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.05398, allocations: 423.2 kB / 374.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.05689, allocations: 1.535 MB / 375.9 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.05725, allocations: 349 kB / 376.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.05754, allocations: 167.9 kB / 376.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/0.06084, allocations: 1.651 MB / 378.1 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.06088, allocations: 0 / 378.1 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.06106, allocations: 75.98 kB / 378.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.06109, allocations: 36 kB / 378.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.06436, allocations: 1.541 MB / 379.7 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.0779, allocations: 6.861 MB / 386.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.08132, allocations: 1.645 MB / 388.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.08301, allocations: 0.862 MB / 389.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.08319, allocations: 49.3 kB / 389.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/0.08511, allocations: 1.113 MB / 390.3 MB, free: 5.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=165): time 4.007e-06/0.08512, allocations: 0 / 390.3 MB, free: 5.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=187): time 0.01496/0.1001, allocations: 6.849 MB / 397.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.1003, allocations: 283 kB / 397.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.1039, allocations: 2.184 MB / 399.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.104, allocations: 61.81 kB / 399.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.1053, allocations: 1.167 MB / 400.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.1063, allocations: 0.7131 MB / 401.5 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007035/0.107, allocations: 405.2 kB / 401.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.1072, allocations: 480.7 kB / 402.4 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.1087, allocations: 0.7709 MB / 403.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.1107, allocations: 1.339 MB / 404.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/0.1157, allocations: 2.915 MB / 407.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1157, allocations: 0 / 407.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004707/0.1204, allocations: 2.342 MB / 409.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.1206, allocations: 222.4 kB / 410 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.1207, allocations: 8 kB / 410 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.1207, allocations: 16 kB / 410 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.1226, allocations: 419.4 kB / 410.4 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.1226, allocations: 15.94 kB / 410.4 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009886/0.1236, allocations: 63.97 kB / 410.5 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.1237, allocations: 71.98 kB / 410.5 MB, free: 52 kB / 330.7 MB Warning: Assuming fixed start value for the following 6 variables: reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real j1.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = throttleValve.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) \"fraction of flow allowed by cushion\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (throttleValve.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.data.zetaLaminarKnown,reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cylinderChamberRod.empty,doubleActingCylinder.cylinderChamberHead.empty,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 8 * 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.1178/0.2416, allocations: 0.741 MB / 411.3 MB, free: 74.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.2422, allocations: 289.9 kB / 411.6 MB, free: 74.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/0.246, allocations: 2.426 MB / 414 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.246, allocations: 20.22 kB / 414 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.246, allocations: 1.734 kB / 414 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.246, allocations: 10.88 kB / 414 MB, free: 73.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007922/0.254, allocations: 5.344 MB / 419.4 MB, free: 71.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.254, allocations: 3.938 kB / 419.4 MB, free: 71.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.2555, allocations: 377.7 kB / 419.7 MB, free: 71.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.2557, allocations: 40.06 kB / 419.8 MB, free: 71.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.2558, allocations: 60.53 kB / 419.8 MB, free: 71.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007773/0.2566, allocations: 1.841 MB / 421.7 MB, free: 69.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2566, allocations: 3 kB / 421.7 MB, free: 69.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.2608, allocations: 3.715 MB / 425.4 MB, free: 67.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/0.2616, allocations: 404.6 kB / 425.8 MB, free: 67.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.2618, allocations: 47.03 kB / 425.8 MB, free: 67.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007793/0.2626, allocations: 51.7 kB / 425.9 MB, free: 67.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.2628, allocations: 160.3 kB / 426.1 MB, free: 67.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.2629, allocations: 68.3 kB / 426.1 MB, free: 67.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001474/0.2644, allocations: 1.246 MB / 427.4 MB, free: 66.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2644, allocations: 1.438 kB / 427.4 MB, free: 66.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.2656, allocations: 0.5173 MB / 427.9 MB, free: 66.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (reliefValve.valvePosition,doubleActingCylinder.cushionHead.reliefValve.valvePosition,doubleActingCylinder.cushionHead.flowFraction,doubleActingCylinder.cushionRod.reliefValve.valvePosition,doubleActingCylinder.cushionRod.flowFraction,doubleActingCylinder.damper.s_rel,doubleActingCylinder.damper.v_rel,doubleActingCylinder.leakage_Head2Env.port_b.p,doubleActingCylinder.leakage_Rod2Env.port_b.p,throttleValve.port_b.p,j1.volumeClosed.port[2].p) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 2 ($whenCondition3,$whenCondition4) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002689/0.2683, allocations: 0.5364 MB / 428.4 MB, free: 66.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002537/0.2708, allocations: 2.519 MB / 430.9 MB, free: 63.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.2708, allocations: 0 / 430.9 MB, free: 63.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.2723, allocations: 1.755 MB / 432.7 MB, free: 61.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.2744, allocations: 0.635 MB / 433.3 MB, free: 61.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.2798, allocations: 4.558 MB / 437.9 MB, free: 56.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007416/0.2805, allocations: 0.9978 MB / 438.9 MB, free: 55.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.2816, allocations: 363.5 kB / 439.2 MB, free: 55.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.2821, allocations: 192.4 kB / 439.4 MB, free: 55.1 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2821, allocations: 3.938 kB / 439.4 MB, free: 55.09 MB / 330.7 MB Notification: Performance of Templates: time 0.04282/0.3249, allocations: 32.86 MB / 472.3 MB, free: 22.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.840599772054702]