Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.001316/0.001316, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001487/0.001487, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.573/1.573, allocations: 230.5 MB / 257.4 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.93 MB / 360.8 MB, free: 4.133 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 83.88 kB / 0.4962 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4079, allocations: 66.08 MB / 0.5607 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.02064/0.4285, allocations: 16.9 MB / 0.5773 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.4415, allocations: 5.526 MB / 0.5826 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003477/0.445, allocations: 163.1 kB / 0.5828 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009234/0.4543, allocations: 4.719 MB / 0.5874 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.4621, allocations: 2.502 MB / 0.5899 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.4657, allocations: 1.311 MB / 0.5911 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.4816, allocations: 8.652 MB / 0.5996 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006842/0.4884, allocations: 4.28 MB / 0.6038 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005763/0.4942, allocations: 2.621 MB / 0.6063 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/0.5004, allocations: 3.435 MB / 0.6097 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.5023, allocations: 0.4922 MB / 0.6102 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.5063, allocations: 1.292 MB / 0.6114 GB, free: 124 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004299/0.5106, allocations: 2.945 MB / 0.6143 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006029/0.5166, allocations: 3.159 MB / 0.6174 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.5313, allocations: 9.453 MB / 0.6266 GB, free: 0.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5313, allocations: 4 kB / 0.6266 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5313, allocations: 4 kB / 0.6266 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003717/0.5317, allocations: 0 / 0.6266 GB, free: 0.4922 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02509/0.5568, allocations: 7.639 MB / 0.6341 GB, free: 8.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.5569, allocations: 8.031 kB / 0.6341 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/0.5589, allocations: 0.7349 MB / 0.6348 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06346/0.6224, allocations: 8.95 MB / 0.6435 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/0.6384, allocations: 6.237 MB / 0.6496 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.6388, allocations: 359.1 kB / 0.65 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.6403, allocations: 415.7 kB / 0.6504 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.6648, allocations: 10.76 MB / 0.6609 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/0.665, allocations: 59.55 kB / 0.6609 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000531/0.6656, allocations: 175.9 kB / 0.6611 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003406/0.669, allocations: 1.725 MB / 0.6628 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/0.6939, allocations: 9.036 MB / 0.6716 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07828/0.7721, allocations: 44.23 MB / 0.7148 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/0.7948, allocations: 7.377 MB / 0.722 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007517/0.8024, allocations: 4.787 MB / 0.7267 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3388/1.141, allocations: 11.86 MB / 0.7383 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.141, allocations: 67.31 kB / 0.7383 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 4.348e-06/1.141, allocations: 0 / 0.7383 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.2094/1.351, allocations: 74.23 MB / 0.8108 GB, free: 92.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01365/1.364, allocations: 10.99 MB / 0.8216 GB, free: 81.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005536/1.37, allocations: 4.328 MB / 0.8258 GB, free: 76.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.371, allocations: 85.7 kB / 0.8259 GB, free: 76.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/1.373, allocations: 3.046 MB / 0.8288 GB, free: 73.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/1.375, allocations: 1.473 MB / 0.8303 GB, free: 72.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/1.377, allocations: 1.135 MB / 0.8314 GB, free: 71.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.253e-05/1.377, allocations: 309.1 kB / 0.8317 GB, free: 71.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006113/1.383, allocations: 4.653 MB / 0.8362 GB, free: 66.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007332/1.39, allocations: 6.684 MB / 0.8428 GB, free: 58.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.404, allocations: 12.08 MB / 0.8545 GB, free: 45.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.424e-05/1.404, allocations: 20 kB / 0.8546 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03575/1.44, allocations: 18.93 MB / 0.873 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/1.44, allocations: 32 kB / 0.8731 GB, free: 26.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/1.44, allocations: 64 kB / 0.8731 GB, free: 26.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02192/1.462, allocations: 8.815 MB / 0.8817 GB, free: 18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/1.466, allocations: 1.01 MB / 0.8827 GB, free: 16.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07878/1.545, allocations: 53.72 MB / 0.9352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006442/1.551, allocations: 498.9 kB / 0.9357 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.553, allocations: 283.9 kB / 0.9359 GB, free: 10.17 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (515): * Single equations (assignments): 506 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(13,102,46.2%), (3,23,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,48)} Notification: Performance of prepare postOptimizeDAE: time 0.00535/1.558, allocations: 2.268 MB / 0.9382 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001487/1.559, allocations: 0.4967 MB / 0.9386 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03939/1.599, allocations: 17.81 MB / 0.956 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03871/1.637, allocations: 16.33 MB / 0.972 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001333/1.638, allocations: 28 kB / 0.972 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001498/1.638, allocations: 15.94 kB / 0.972 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3724/2.01, allocations: 34.75 MB / 1.006 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/2.01, allocations: 3.75 kB / 1.006 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/2.013, allocations: 452.1 kB / 1.006 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02182/2.034, allocations: 8.648 MB / 1.015 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.036, allocations: 72 kB / 1.015 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06055/2.096, allocations: 52.28 MB / 1.066 GB, free: 147.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01192/2.108, allocations: 9.72 MB / 1.075 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04074/2.149, allocations: 23.97 MB / 1.099 GB, free: 114.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/2.151, allocations: 477.1 kB / 1.099 GB, free: 113.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/2.153, allocations: 75.94 kB / 1.099 GB, free: 113.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005057/2.158, allocations: 382.6 kB / 1.1 GB, free: 113.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002128/2.16, allocations: 339.9 kB / 1.1 GB, free: 113.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007311/2.161, allocations: 98.36 kB / 1.1 GB, free: 113 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004818/2.165, allocations: 2.84 MB / 1.103 GB, free: 110.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.21e-07/2.165, allocations: 0 / 1.103 GB, free: 110.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008773/2.174, allocations: 1.977 MB / 1.105 GB, free: 108.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (217): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(11,97,54.5%), (4,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0398/2.214, allocations: 24.64 MB / 1.129 GB, free: 83.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0197/2.234, allocations: 12.14 MB / 1.141 GB, free: 71.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/2.234, allocations: 0 / 1.141 GB, free: 71.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01185/2.246, allocations: 6.702 MB / 1.147 GB, free: 64.56 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006672/2.252, allocations: 0.8344 MB / 1.148 GB, free: 63.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.442/2.694, allocations: 80.46 MB / 1.227 GB, free: 218.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006888/2.701, allocations: 4.145 MB / 1.231 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004663/2.706, allocations: 1.606 MB / 1.232 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004261/2.71, allocations: 2.621 MB / 1.235 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/2.71, allocations: 0 / 1.235 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.27/2.98, allocations: 178.3 MB / 1.409 GB, free: 58.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.99/36.97, allocations: 12.02 kB / 1.409 GB, free: 58.76 MB / 0.6544 GB " [Timeout remaining time 623] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000998602 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 40.33829051000066] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w', 'revolute4.phi', 'revolute4.w'] 37.18324904099427 37.202203557 36.666707294 Calling exit ...