Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1") translateModel(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009352, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 174.3 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05141/0.05141, allocations: 11.84 MB / 282.9 MB, free: 9.473 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.000554, allocations: 26.5 kB / 343.6 MB, free: 22.47 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1195, allocations: 50.21 MB / 393.8 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1): time 0.01366/0.1332, allocations: 14.25 MB / 408 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.1483, allocations: 5.996 MB / 414 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00379/0.1522, allocations: 43.81 kB / 414.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002186/0.1544, allocations: 0.5827 MB / 414.6 MB, free: 15.27 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:12:14-12:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Components/Lines/NJunction.mo:11:65-11:72:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005887/0.1603, allocations: 1.463 MB / 416.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004782/0.1651, allocations: 1.336 MB / 417.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.1716, allocations: 3.942 MB / 421.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.1731, allocations: 0.786 MB / 422.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.1755, allocations: 1.113 MB / 423.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.1778, allocations: 1.361 MB / 424.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000304/0.1781, allocations: 116 kB / 424.8 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.1795, allocations: 495.4 kB / 425.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005497/0.1801, allocations: 0.5641 MB / 425.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009063/0.181, allocations: 0.6018 MB / 426.4 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.1849, allocations: 3.25 MB / 429.7 MB, free: 192 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.1849, allocations: 4 kB / 429.7 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1849, allocations: 0 / 429.7 MB, free: 188 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.788e-05/0.1849, allocations: 0 / 429.7 MB, free: 188 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 499 * Number of variables: 499 Notification: Performance of Generate backend data structure: time 0.2412/0.4262, allocations: 2.798 MB / 432.5 MB, free: 38.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4263, allocations: 11.44 kB / 432.5 MB, free: 38.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.4275, allocations: 322 kB / 432.8 MB, free: 38.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.4313, allocations: 1.646 MB / 434.4 MB, free: 37.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.4316, allocations: 268.6 kB / 434.7 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003714/0.432, allocations: 204.9 kB / 434.9 MB, free: 37.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.4363, allocations: 2.018 MB / 436.9 MB, free: 36.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.9e-05/0.4364, allocations: 7.516 kB / 436.9 MB, free: 36.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.4366, allocations: 78.58 kB / 437 MB, free: 36.47 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.4367, allocations: 48.53 kB / 437 MB, free: 36.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.4407, allocations: 2.005 MB / 439.1 MB, free: 35.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.4574, allocations: 12.01 MB / 451.1 MB, free: 25.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.4602, allocations: 1.777 MB / 452.8 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.462, allocations: 1.04 MB / 453.9 MB, free: 24.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.4623, allocations: 461.8 kB / 454.3 MB, free: 23.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.464, allocations: 1.093 MB / 455.4 MB, free: 22.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=198): time 3.216e-06/0.464, allocations: 3.938 kB / 455.4 MB, free: 22.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=227): time 0.01923/0.4832, allocations: 9.466 MB / 464.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.4833, allocations: 316.7 kB / 465.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.4857, allocations: 2.115 MB / 467.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.4858, allocations: 65.7 kB / 467.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000616/0.4865, allocations: 1.027 MB / 468.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.487, allocations: 0.7575 MB / 469.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.4871, allocations: 40 kB / 469.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4872, allocations: 390.2 kB / 469.6 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.4884, allocations: 0.7498 MB / 470.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.4897, allocations: 1.061 MB / 471.4 MB, free: 8.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.4911, allocations: 1.132 MB / 472.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4912, allocations: 0 / 472.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.004176/0.4953, allocations: 2.703 MB / 475.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/0.4954, allocations: 221.6 kB / 475.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.4955, allocations: 8 kB / 475.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/0.4961, allocations: 232.1 kB / 475.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.4977, allocations: 479.3 kB / 476.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/0.5034, allocations: 7.78 MB / 483.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.5055, allocations: 155.9 kB / 484.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.5057, allocations: 91.95 kB / 484.2 MB, free: 10.87 MB / 334.1 MB Warning: Assuming fixed start value for the following 9 variables: lineA.wallFriction_b.port_a.p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = lineA.wallFriction_a.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" 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 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.damper.s_rel:VARIABLE(start = 0.0 unit = "m" fixed = true nominal = doubleActingCylinder.damper.s_nominal stateSelect=StateSelect.prefer ) "Relative distance (= flange_b.s - flange_a.s)" type: Real doubleActingCylinder.cushionRod.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionRod.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real doubleActingCylinder.cushionHead.flowFraction:VARIABLE(fixed = true protected = true ) "fraction of flow allowed by cushion" type: Real doubleActingCylinder.cushionHead.reliefValve.valvePosition:VARIABLE(start = 0.0 fixed = true ) "Normalized valve position (between 0 and 1)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,doubleActingCylinder.cylinderChamberHead.empty,doubleActingCylinder.cylinderChamberRod.empty) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001565/0.5073, allocations: 0.9097 MB / 485.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004967/0.5078, allocations: 248.9 kB / 485.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.5129, allocations: 2.989 MB / 488.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.513, allocations: 24 kB / 488.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.513, allocations: 4 kB / 488.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/0.513, allocations: 15.95 kB / 488.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.5271, allocations: 6.2 MB / 494.6 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.5271, allocations: 7.938 kB / 494.6 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/0.5302, allocations: 443.4 kB / 495 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008961/0.5311, allocations: 220.3 kB / 495.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000266/0.5314, allocations: 63.98 kB / 495.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00737/0.5388, allocations: 7.352 MB / 0.4908 GB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.5388, allocations: 7.938 kB / 0.4909 GB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/0.5489, allocations: 3.983 MB / 0.4947 GB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/0.5509, allocations: 0.5876 MB / 0.4953 GB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007151/0.5516, allocations: 56 kB / 0.4954 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/0.5538, allocations: 119.9 kB / 0.4955 GB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/0.5542, allocations: 185.6 kB / 0.4957 GB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/0.5545, allocations: 88.91 kB / 0.4957 GB, free: 2.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003621/0.5582, allocations: 1.47 MB / 0.4972 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5582, allocations: 0 / 0.4972 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003826/0.562, allocations: 0.6757 MB / 0.4978 GB, free: 4 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 17 (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,lineA.port_a.p,lineA.port_b.p,lineA.wallFriction_b.port_a.p,lineB.port_b.p,lineB.wallFriction_b.port_a.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 (246): * Single equations (assignments): 233 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001964/0.564, allocations: 0.5702 MB / 0.4984 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006559/0.5706, allocations: 3.1 MB / 0.5014 GB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5706, allocations: 0 / 0.5014 GB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.5747, allocations: 2.252 MB / 0.5036 GB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.5781, allocations: 0.7418 MB / 0.5044 GB, free: 9.125 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFUnit.mo:883:7-883:68:writable] Error: Internal error function lexer failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/0.5865, allocations: 6.704 MB / 0.5109 GB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.5877, allocations: 1.755 MB / 0.5126 GB, free: 0.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/0.5885, allocations: 235.3 kB / 0.5128 GB, free: 320 kB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5885, allocations: 0 / 0.5128 GB, free: 320 kB / 366.1 MB Notification: Performance of Templates: time 0.3951/0.9836, allocations: 100.3 MB / 0.6107 GB, free: 146.7 MB / 446.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1CalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.DoubleActingCylinderTestSimple1CalcHelperMain.o] Error 1