Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.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.001341/0.001341, allocations: 84.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.001544/0.001544, allocations: 177.9 kB / 23.21 MB, free: 1.328 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.8873/0.8873, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.03494/0.03494, allocations: 8.702 MB / 268.7 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: translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2") translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.819e-05, allocations: 2.281 kB / 395.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2): time 0.006892/0.00691, allocations: 8.438 MB / 403.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006051/0.01296, allocations: 4.678 MB / 408.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.01373, allocations: 39.69 kB / 408.6 MB, free: 4.312 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.01458, allocations: 0.5938 MB / 409.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.01621, allocations: 1.269 MB / 410.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.01817, allocations: 1.482 MB / 411.9 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1521/0.1703, allocations: 3.553 MB / 415.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008455/0.1711, allocations: 487.6 kB / 416 MB, free: 15.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.1733, allocations: 1.752 MB / 417.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.1746, allocations: 1.071 MB / 418.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.175, allocations: 251 kB / 419 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.1758, allocations: 481.7 kB / 419.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.1763, allocations: 0.6602 MB / 420.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.1771, allocations: 0.8913 MB / 421 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.1804, allocations: 3.597 MB / 424.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1804, allocations: 1.375 kB / 424.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1804, allocations: 0 / 424.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.1805, allocations: 2.219 kB / 424.6 MB, free: 13.88 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.003192/0.1837, allocations: 2.86 MB / 427.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1837, allocations: 9.031 kB / 427.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.1841, allocations: 287.2 kB / 427.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.1858, allocations: 1.491 MB / 429.3 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.186, allocations: 354.6 kB / 429.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.1862, allocations: 165.6 kB / 429.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.1882, allocations: 1.881 MB / 431.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.1882, allocations: 5.531 kB / 431.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-05/0.1883, allocations: 63.69 kB / 431.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.1883, allocations: 37.62 kB / 431.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.1903, allocations: 1.807 MB / 433.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/0.1962, allocations: 5.025 MB / 438.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.1978, allocations: 1.64 MB / 440.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/0.1986, allocations: 0.8712 MB / 441.1 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1987, allocations: 36.19 kB / 441.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008786/0.1996, allocations: 1.108 MB / 442.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=159): time 3.918e-06/0.1996, allocations: 4 kB / 442.3 MB, free: 3.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=174): time 0.007434/0.207, allocations: 6.698 MB / 449 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.2071, allocations: 289.6 kB / 449.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.2088, allocations: 1.832 MB / 451.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/0.2089, allocations: 53.7 kB / 451.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.2093, allocations: 0.9182 MB / 452.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.2096, allocations: 0.6014 MB / 452.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.2099, allocations: 295.5 kB / 452.9 MB, free: 9.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.21, allocations: 301.1 kB / 453.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.2108, allocations: 0.794 MB / 454 MB, free: 8.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.2118, allocations: 1.202 MB / 455.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006103/0.2179, allocations: 4.287 MB / 459.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2179, allocations: 224 / 459.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.002361/0.2202, allocations: 2.322 MB / 461.8 MB, free: 56 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.2203, allocations: 229.5 kB / 462.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2204, allocations: 8 kB / 462.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/0.2205, allocations: 48.83 kB / 462.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008386/0.2213, allocations: 390.3 kB / 462.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2224, allocations: 1.627 MB / 464.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.223, allocations: 71.81 kB / 464.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.2231, allocations: 71.97 kB / 464.3 MB, free: 13.5 MB / 362.7 MB Warning: Assuming fixed start value for the following 8 variables: 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 doubleActingCylinder.damper.v_rel:VARIABLE(start = 0.0 unit = \"m/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative velocity (= der(s_rel))\" type: Real doubleActingCylinder.leakage_Head2Env.port_b.p:VARIABLE(flow=false min = 0.0 start = doubleActingCylinder.cushionHead.reliefValve.variableRestriction.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) \"Normalized valve position (between 0 and 1)\" type: Real position.w:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"If exact=false, Angular velocity of flange with respect to support else dummy\" type: Real 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: 28 * Number of states: 0 () * Number of discrete variables: 11 (reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionRod.cushionRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.reliefValve.variableRestriction.data.zetaLaminarKnown,doubleActingCylinder.cushionHead.cushionRestriction.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 (215): * Single equations (assignments): 206 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009103/0.224, allocations: 0.8168 MB / 465.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.2242, allocations: 219.6 kB / 465.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.2267, allocations: 2.393 MB / 467.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2268, allocations: 20 kB / 467.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2268, allocations: 1.594 kB / 467.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.2268, allocations: 7.969 kB / 467.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004698/0.2315, allocations: 4.332 MB / 472.1 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.2315, allocations: 4 kB / 472.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/0.2323, allocations: 348.9 kB / 472.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.818e-05/0.2323, allocations: 49.34 kB / 472.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.2324, allocations: 51.97 kB / 472.5 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007803/0.2332, allocations: 1.627 MB / 474.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2332, allocations: 11.41 kB / 474.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.2365, allocations: 3.477 MB / 477.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.237, allocations: 390.4 kB / 478 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.2372, allocations: 36 kB / 478 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.2376, allocations: 71.89 kB / 478.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.2377, allocations: 141.2 kB / 478.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.2378, allocations: 71.97 kB / 478.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.239, allocations: 1.262 MB / 479.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.239, allocations: 0 / 479.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001138/0.2401, allocations: 0.5036 MB / 480.1 MB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (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,circuitTank.volumeOpen.m,reliefValve.valvePosition,position.phi,position.w,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 (191): * Single equations (assignments): 182 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.2412, allocations: 0.5385 MB / 480.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.2434, allocations: 2.492 MB / 483.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2434, allocations: 0 / 483.1 MB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.2449, allocations: 1.621 MB / 484.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.2461, allocations: 0.5661 MB / 485.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.2509, allocations: 4.654 MB / 489.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.2516, allocations: 0.9953 MB / 490.9 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.252, allocations: 188.4 kB / 491.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.252, allocations: 0 / 491.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of Templates: time 0.03332/0.2854, allocations: 43.37 MB / 0.522 GB, free: 6.762 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2 > OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.500049973838031]