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.001413/0.001413, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001382/0.001382, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.514/1.514, allocations: 230.5 MB / 254 MB, free: 15.14 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.233/0.233, allocations: 46.94 MB / 357 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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.002289/0.002289, allocations: 75.88 kB / 0.491 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1348, allocations: 66.06 MB / 0.5555 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01988/0.1547, allocations: 16.87 MB / 0.572 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.1671, allocations: 5.51 MB / 0.5773 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.1698, allocations: 159.1 kB / 0.5775 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009287/0.1791, allocations: 4.688 MB / 0.5821 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006966/0.186, allocations: 2.506 MB / 0.5845 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.1892, allocations: 1.31 MB / 0.5858 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.3099/0.4991, allocations: 8.617 MB / 0.5942 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00923/0.5083, allocations: 4.632 MB / 0.5987 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006115/0.5144, allocations: 2.618 MB / 0.6013 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007474/0.5219, allocations: 3.431 MB / 0.6046 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002429/0.5243, allocations: 0.4925 MB / 0.6051 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.5292, allocations: 1.287 MB / 0.6064 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005401/0.5346, allocations: 2.953 MB / 0.6093 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007604/0.5422, allocations: 3.159 MB / 0.6124 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.5559, allocations: 9.454 MB / 0.6216 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5559, allocations: 5.5 kB / 0.6216 GB, free: 1.121 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5559, allocations: 1.375 kB / 0.6216 GB, free: 1.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004849/0.5564, allocations: 0 / 0.6216 GB, free: 1.121 MB / 446.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.03197/0.5884, allocations: 7.715 MB / 0.6291 GB, free: 12.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5884, allocations: 9.375 kB / 0.6291 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003646/0.5921, allocations: 0.7372 MB / 0.6299 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06897/0.661, allocations: 8.949 MB / 0.6386 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/0.6772, allocations: 6.382 MB / 0.6448 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.6776, allocations: 316.6 kB / 0.6451 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.6795, allocations: 421.1 kB / 0.6455 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.7052, allocations: 10.75 MB / 0.656 GB, free: 4.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/0.7054, allocations: 67.03 kB / 0.6561 GB, free: 4.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009266/0.7064, allocations: 175 kB / 0.6563 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.71, allocations: 1.72 MB / 0.6579 GB, free: 2.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.7342, allocations: 9.035 MB / 0.6668 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06983/0.804, allocations: 44.23 MB / 0.71 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/0.8276, allocations: 7.356 MB / 0.7171 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007452/0.8351, allocations: 4.736 MB / 0.7218 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/0.8561, allocations: 12.73 MB / 0.7342 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.8562, allocations: 60.8 kB / 0.7342 GB, free: 3.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=283): time 7.634e-06/0.8562, allocations: 4 kB / 0.7343 GB, free: 3.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=406): time 0.2588/1.115, allocations: 74.49 MB / 0.807 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0186/1.134, allocations: 11.1 MB / 0.8178 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007616/1.141, allocations: 4.315 MB / 0.8221 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/1.142, allocations: 89.7 kB / 0.8221 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002772/1.145, allocations: 3.052 MB / 0.8251 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002273/1.147, allocations: 1.466 MB / 0.8266 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/1.15, allocations: 1.141 MB / 0.8277 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.15, allocations: 309.1 kB / 0.828 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.295/1.445, allocations: 4.648 MB / 0.8325 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.455, allocations: 6.684 MB / 0.839 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/1.474, allocations: 12.07 MB / 0.8508 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.332e-05/1.474, allocations: 22.34 kB / 0.8508 GB, free: 207.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.0421/1.516, allocations: 18.92 MB / 0.8693 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/1.516, allocations: 32.75 kB / 0.8693 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/1.516, allocations: 66 kB / 0.8694 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02345/1.54, allocations: 8.813 MB / 0.878 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/1.543, allocations: 1.015 MB / 0.879 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0667/1.61, allocations: 54.03 MB / 0.9318 GB, free: 147.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00694/1.617, allocations: 495.3 kB / 0.9322 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.619, allocations: 279.9 kB / 0.9325 GB, free: 146.3 MB / 0.6387 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.004617/1.623, allocations: 2.264 MB / 0.9347 GB, free: 144.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001296/1.624, allocations: 0.4959 MB / 0.9352 GB, free: 143.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03286/1.657, allocations: 17.83 MB / 0.9526 GB, free: 126 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03065/1.688, allocations: 16.32 MB / 0.9686 GB, free: 109.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.531e-05/1.688, allocations: 28 kB / 0.9686 GB, free: 109.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9e-05/1.688, allocations: 23.92 kB / 0.9686 GB, free: 109.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06092/1.749, allocations: 34.95 MB / 1.003 GB, free: 74.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/1.749, allocations: 7.938 kB / 1.003 GB, free: 74.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/1.752, allocations: 463.2 kB / 1.003 GB, free: 73.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02321/1.775, allocations: 8.641 MB / 1.012 GB, free: 65.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/1.776, allocations: 79.92 kB / 1.012 GB, free: 65.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06098/1.837, allocations: 52.58 MB / 1.063 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.319/2.156, allocations: 9.817 MB / 1.073 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05399/2.21, allocations: 23.98 MB / 1.096 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/2.212, allocations: 0.5371 MB / 1.097 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/2.214, allocations: 77.02 kB / 1.097 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004737/2.218, allocations: 379.6 kB / 1.097 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001835/2.22, allocations: 320.8 kB / 1.097 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004174/2.221, allocations: 105.7 kB / 1.097 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00486/2.226, allocations: 2.833 MB / 1.1 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/2.226, allocations: 0 / 1.1 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008689/2.234, allocations: 1.977 MB / 1.102 GB, free: 196.4 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.04113/2.275, allocations: 24.64 MB / 1.126 GB, free: 185 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01976/2.295, allocations: 12.15 MB / 1.138 GB, free: 174.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.295, allocations: 4 kB / 1.138 GB, free: 174.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/2.308, allocations: 6.682 MB / 1.145 GB, free: 169 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007501/2.316, allocations: 0.8494 MB / 1.145 GB, free: 168.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1338/2.45, allocations: 80.36 MB / 1.224 GB, free: 85.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005072/2.455, allocations: 4.157 MB / 1.228 GB, free: 81.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003733/2.459, allocations: 1.613 MB / 1.23 GB, free: 79.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003541/2.462, allocations: 2.616 MB / 1.232 GB, free: 76.78 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/2.462, allocations: 0 / 1.232 GB, free: 76.78 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5859/3.048, allocations: 172.1 MB / 1.4 GB, free: 167.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 32/35.05, allocations: 8 kB / 1.4 GB, free: 167.3 MB / 0.6544 GB " [Timeout remaining time 625] (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: 38.27302427601535] 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'] 35.22561674006283 35.247659009 34.687057838 Calling exit ...