Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 220.5 kB / 22.92 MB, free: 5.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 230.2 MB / 256.2 MB, free: 8.723 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1986/0.1986, allocations: 46.89 MB / 359.3 MB, free: 4.957 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 83.8 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2679, allocations: 65.99 MB / 0.5584 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01588/0.2838, allocations: 15.05 MB / 0.5731 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009603/0.2934, allocations: 5.058 MB / 0.5781 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.2951, allocations: 99.69 kB / 0.5782 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006742/0.3018, allocations: 4.069 MB / 0.5821 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.3073, allocations: 2.388 MB / 0.5845 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.3096, allocations: 1.166 MB / 0.5856 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008272/0.3178, allocations: 6.588 MB / 0.592 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.322, allocations: 3.464 MB / 0.5954 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.3253, allocations: 2.208 MB / 0.5976 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004549/0.3299, allocations: 3.26 MB / 0.6008 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.331, allocations: 456 kB / 0.6012 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.3338, allocations: 1.584 MB / 0.6027 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002921/0.3367, allocations: 2.801 MB / 0.6055 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003856/0.3406, allocations: 3.139 MB / 0.6085 GB, free: 1.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.3517, allocations: 9.767 MB / 0.6181 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3517, allocations: 0 / 0.6181 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3518, allocations: 0 / 0.6181 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002391/0.352, allocations: 0 / 0.6181 GB, free: 7.816 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0173/0.3693, allocations: 7.176 MB / 0.6251 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3693, allocations: 12.03 kB / 0.6251 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001533/0.3709, allocations: 0.914 MB / 0.626 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1614/0.5322, allocations: 12.55 MB / 0.6382 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.5425, allocations: 4.577 MB / 0.6427 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.5427, allocations: 316.1 kB / 0.643 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/0.544, allocations: 427.7 kB / 0.6434 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.5691, allocations: 13.68 MB / 0.6568 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.5693, allocations: 59.53 kB / 0.6568 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006021/0.5699, allocations: 199.8 kB / 0.657 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003989/0.5739, allocations: 2.523 MB / 0.6595 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02319/0.5971, allocations: 11.55 MB / 0.6708 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06443/0.6615, allocations: 52.92 MB / 0.7225 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/0.6774, allocations: 5.565 MB / 0.7279 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.6818, allocations: 3.076 MB / 0.7309 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.213/0.8947, allocations: 14.89 MB / 0.7454 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8948, allocations: 55.56 kB / 0.7455 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 3.958e-06/0.8948, allocations: 3.969 kB / 0.7455 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.06433/0.9591, allocations: 26.51 MB / 0.7714 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.9591, allocations: 261.3 kB / 0.7716 GB, free: 130 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/0.9638, allocations: 5.074 MB / 0.7766 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/0.9641, allocations: 65.7 kB / 0.7766 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.9656, allocations: 4.113 MB / 0.7807 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006676/0.9662, allocations: 1.028 MB / 0.7817 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.9676, allocations: 1.477 MB / 0.7831 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/0.9677, allocations: 305.1 kB / 0.7834 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.9705, allocations: 2.736 MB / 0.7861 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/0.9745, allocations: 7.083 MB / 0.793 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/0.9824, allocations: 10.65 MB / 0.8034 GB, free: 93.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.661e-05/0.9825, allocations: 48 kB / 0.8034 GB, free: 93.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01171/0.9942, allocations: 10.13 MB / 0.8133 GB, free: 83.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.9942, allocations: 72.94 kB / 0.8134 GB, free: 83.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.667e-05/0.9943, allocations: 152 kB / 0.8135 GB, free: 83.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.9956, allocations: 0.7082 MB / 0.8142 GB, free: 82.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004628/1, allocations: 1.778 MB / 0.816 GB, free: 80.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/1.005, allocations: 6.839 MB / 0.8226 GB, free: 73.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/1.01, allocations: 410.9 kB / 0.823 GB, free: 73.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000499/1.01, allocations: 444 kB / 0.8235 GB, free: 72.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002674/1.013, allocations: 2.63 MB / 0.826 GB, free: 70.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/1.013, allocations: 496.7 kB / 0.8265 GB, free: 69.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/1.019, allocations: 4.377 MB / 0.8308 GB, free: 65.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.019, allocations: 28 kB / 0.8308 GB, free: 65.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.019, allocations: 4 kB / 0.8308 GB, free: 65.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/1.019, allocations: 19.95 kB / 0.8308 GB, free: 65.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/1.032, allocations: 10.74 MB / 0.8413 GB, free: 54.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.032, allocations: 4 kB / 0.8413 GB, free: 54.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.034, allocations: 0.4953 MB / 0.8418 GB, free: 54.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/1.035, allocations: 487.1 kB / 0.8423 GB, free: 53.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/1.035, allocations: 51.92 kB / 0.8423 GB, free: 53.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00468/1.04, allocations: 6.218 MB / 0.8484 GB, free: 46.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.04, allocations: 4 kB / 0.8484 GB, free: 46.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007906/1.048, allocations: 7.645 MB / 0.8558 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/1.048, allocations: 0.5134 MB / 0.8563 GB, free: 38.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/1.049, allocations: 48 kB / 0.8564 GB, free: 38.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.051, allocations: 155.8 kB / 0.8565 GB, free: 38.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/1.051, allocations: 141.7 kB / 0.8567 GB, free: 38.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.051, allocations: 71.98 kB / 0.8567 GB, free: 38.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003504/1.055, allocations: 3.176 MB / 0.8598 GB, free: 35.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.055, allocations: 0 / 0.8598 GB, free: 35.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004888/1.06, allocations: 1.296 MB / 0.8611 GB, free: 33.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008199/1.068, allocations: 8.337 MB / 0.8693 GB, free: 25.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007563/1.075, allocations: 6.54 MB / 0.8756 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.075, allocations: 0 / 0.8756 GB, free: 18.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002296/1.078, allocations: 2.206 MB / 0.8778 GB, free: 16.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.081, allocations: 0.6246 MB / 0.8784 GB, free: 16.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07747/1.158, allocations: 59.22 MB / 0.9362 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005536/1.164, allocations: 4.101 MB / 0.9402 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005569/1.169, allocations: 2.381 MB / 0.9426 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004109/1.173, allocations: 2.624 MB / 0.9451 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of SimCode: time 1.453e-06/1.173, allocations: 0 / 0.9451 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/1.527, allocations: 93 MB / 1.036 GB, free: 194.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.84/30.37, allocations: 1.719 kB / 1.036 GB, free: 194.8 MB / 0.6544 GB " [Timeout remaining time 629] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.96800738299498]