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.001532/0.001532, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.001485/0.001485, allocations: 205 kB / 24.38 MB, free: 4.188 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.496/1.496, allocations: 230.2 MB / 257.7 MB, free: 8.293 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.2388/0.2388, allocations: 46.88 MB / 361 MB, free: 4.504 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.002312/0.002312, allocations: 79.86 kB / 0.4962 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3248, allocations: 66.03 MB / 0.5607 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.03121/0.356, allocations: 16.8 MB / 0.5771 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01813/0.3741, allocations: 5.491 MB / 0.5824 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003542/0.3777, allocations: 163.1 kB / 0.5826 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009663/0.3873, allocations: 4.719 MB / 0.5872 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007263/0.3946, allocations: 2.498 MB / 0.5896 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.398, allocations: 1.314 MB / 0.5909 GB, free: 5.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.4118, allocations: 8.655 MB / 0.5994 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006505/0.4183, allocations: 4 MB / 0.6033 GB, free: 8.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005258/0.4235, allocations: 2.625 MB / 0.6058 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005741/0.4293, allocations: 3.439 MB / 0.6092 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001649/0.4309, allocations: 0.4961 MB / 0.6097 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.4341, allocations: 1.249 MB / 0.6109 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004028/0.4381, allocations: 2.945 MB / 0.6138 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005559/0.4436, allocations: 3.163 MB / 0.6169 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.4561, allocations: 9.449 MB / 0.6261 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4561, allocations: 0 / 0.6261 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4561, allocations: 0 / 0.6261 GB, free: 1.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.4563, allocations: 0 / 0.6261 GB, free: 1.43 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.01959/0.4759, allocations: 7.719 MB / 0.6336 GB, free: 9.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.476, allocations: 8.031 kB / 0.6336 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001749/0.4777, allocations: 0.7349 MB / 0.6344 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0616/0.5393, allocations: 8.946 MB / 0.6431 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01381/0.5531, allocations: 6.368 MB / 0.6493 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5535, allocations: 329.4 kB / 0.6496 GB, free: 9.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.5546, allocations: 415.7 kB / 0.65 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.576, allocations: 10.76 MB / 0.6605 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.5762, allocations: 63.59 kB / 0.6606 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005941/0.5768, allocations: 179.9 kB / 0.6608 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003246/0.5801, allocations: 1.722 MB / 0.6624 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/0.6018, allocations: 9.028 MB / 0.6713 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06681/0.6686, allocations: 44.31 MB / 0.7145 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/0.6901, allocations: 7.357 MB / 0.7217 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006694/0.6968, allocations: 4.798 MB / 0.7264 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2714/0.9682, allocations: 12.78 MB / 0.7389 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.9682, allocations: 61.36 kB / 0.7389 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 4.358e-06/0.9682, allocations: 0 / 0.7389 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.1994/1.168, allocations: 74.69 MB / 0.8119 GB, free: 91.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01299/1.181, allocations: 11.1 MB / 0.8227 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/1.186, allocations: 4.315 MB / 0.8269 GB, free: 76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009748/1.187, allocations: 93.7 kB / 0.827 GB, free: 75.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.189, allocations: 3.048 MB / 0.83 GB, free: 73.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00179/1.19, allocations: 1.473 MB / 0.8314 GB, free: 71.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002133/1.193, allocations: 1.139 MB / 0.8326 GB, free: 70.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.778e-05/1.193, allocations: 306 kB / 0.8328 GB, free: 70.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.198, allocations: 4.653 MB / 0.8374 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0071/1.205, allocations: 6.684 MB / 0.8439 GB, free: 58.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.22, allocations: 12.07 MB / 0.8557 GB, free: 45.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-05/1.22, allocations: 20 kB / 0.8557 GB, free: 45.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03595/1.256, allocations: 18.93 MB / 0.8742 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/1.256, allocations: 32 kB / 0.8742 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.606e-05/1.256, allocations: 64 kB / 0.8743 GB, free: 26.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02175/1.278, allocations: 8.807 MB / 0.8829 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/1.282, allocations: 1.014 MB / 0.8839 GB, free: 16.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08143/1.363, allocations: 54.02 MB / 0.9366 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/1.369, allocations: 498.9 kB / 0.9371 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.37, allocations: 291.9 kB / 0.9374 GB, free: 9.07 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.005411/1.376, allocations: 2.261 MB / 0.9396 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/1.377, allocations: 0.4928 MB / 0.9401 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04344/1.421, allocations: 17.82 MB / 0.9575 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3389/1.76, allocations: 16.32 MB / 0.9734 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001059/1.76, allocations: 29.12 kB / 0.9735 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/1.76, allocations: 23.02 kB / 0.9735 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06113/1.821, allocations: 34.94 MB / 1.008 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/1.821, allocations: 9.453 kB / 1.008 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002297/1.823, allocations: 459 kB / 1.008 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02121/1.845, allocations: 8.638 MB / 1.016 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00098/1.846, allocations: 71.75 kB / 1.017 GB, free: 198 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05934/1.905, allocations: 52.59 MB / 1.068 GB, free: 145.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01158/1.917, allocations: 9.815 MB / 1.077 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03671/1.953, allocations: 23.97 MB / 1.101 GB, free: 111.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.954, allocations: 0.5413 MB / 1.101 GB, free: 111.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.956, allocations: 68 kB / 1.101 GB, free: 111.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/1.959, allocations: 383.4 kB / 1.102 GB, free: 111.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001398/1.961, allocations: 350.8 kB / 1.102 GB, free: 110.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003847/1.961, allocations: 96 kB / 1.102 GB, free: 110.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003642/1.965, allocations: 2.836 MB / 1.105 GB, free: 107.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.51e-07/1.965, allocations: 3.938 kB / 1.105 GB, free: 107.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007375/1.972, allocations: 1.98 MB / 1.107 GB, free: 105.8 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.0381/2.01, allocations: 24.64 MB / 1.131 GB, free: 81.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01771/2.028, allocations: 12.13 MB / 1.143 GB, free: 68.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/2.028, allocations: 5.188 kB / 1.143 GB, free: 68.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01097/2.039, allocations: 6.7 MB / 1.149 GB, free: 62.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/2.044, allocations: 0.8531 MB / 1.15 GB, free: 61.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3964/2.44, allocations: 80.45 MB / 1.229 GB, free: 220.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005724/2.446, allocations: 4.149 MB / 1.233 GB, free: 219.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004195/2.45, allocations: 1.609 MB / 1.234 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005511/2.455, allocations: 2.617 MB / 1.237 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/2.455, allocations: 6.234 kB / 1.237 GB, free: 219.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2572/2.713, allocations: 178.3 MB / 1.411 GB, free: 56.76 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.53/34.24, allocations: 7.953 kB / 1.411 GB, free: 56.75 MB / 0.6544 GB " [Timeout remaining time 626] (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: 37.46755622699857] 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'] 34.417961726896465 34.42745487 33.968833686 Calling exit ...