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.001388/0.001388, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001461/0.001461, allocations: 211.2 kB / 23.78 MB, free: 4.438 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.469/1.469, allocations: 230.5 MB / 257.5 MB, free: 7.77 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.2544/0.2544, allocations: 46.95 MB / 360.9 MB, free: 3.887 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.002327/0.002327, allocations: 75.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3754, allocations: 66.1 MB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01847/0.3939, allocations: 14.56 MB / 0.575 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.4069, allocations: 5.277 MB / 0.5802 GB, free: 88 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004314/0.4112, allocations: 167.2 kB / 0.5803 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009661/0.4209, allocations: 4.509 MB / 0.5847 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.4293, allocations: 2.518 MB / 0.5872 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.4332, allocations: 1.31 MB / 0.5885 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01444/0.4477, allocations: 8.644 MB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006502/0.4542, allocations: 4.252 MB / 0.6011 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.4593, allocations: 2.629 MB / 0.6036 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006007/0.4653, allocations: 3.212 MB / 0.6068 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.4671, allocations: 0.4922 MB / 0.6072 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.4704, allocations: 1.249 MB / 0.6085 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004194/0.4746, allocations: 2.945 MB / 0.6113 GB, free: 28 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004983/0.4796, allocations: 2.46 MB / 0.6137 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4944, allocations: 9.516 MB / 0.623 GB, free: 4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4944, allocations: 4 kB / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.4944, allocations: 0 / 0.623 GB, free: 3.996 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003463/0.4947, allocations: 0 / 0.623 GB, free: 3.996 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.02544/0.5202, allocations: 7.698 MB / 0.6306 GB, free: 12.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5202, allocations: 8.031 kB / 0.6306 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002456/0.5227, allocations: 0.731 MB / 0.6313 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0662/0.5889, allocations: 9.746 MB / 0.6408 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.6035, allocations: 6.273 MB / 0.6469 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003513/0.6038, allocations: 351.2 kB / 0.6473 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.605, allocations: 411.8 kB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/0.6277, allocations: 10.9 MB / 0.6583 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.6279, allocations: 63.53 kB / 0.6584 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.6284, allocations: 183.9 kB / 0.6585 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/0.6319, allocations: 1.718 MB / 0.6602 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02193/0.6538, allocations: 9.024 MB / 0.669 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06725/0.7211, allocations: 41.02 MB / 0.7091 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/0.744, allocations: 7.625 MB / 0.7165 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006842/0.7509, allocations: 4.798 MB / 0.7212 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/0.7706, allocations: 11.07 MB / 0.732 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.037e-05/0.7707, allocations: 68.78 kB / 0.7321 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 6.202e-06/0.7707, allocations: 7.875 kB / 0.7321 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.5533/1.324, allocations: 76.21 MB / 0.8065 GB, free: 96.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01361/1.338, allocations: 10.87 MB / 0.8171 GB, free: 85.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005818/1.343, allocations: 4.421 MB / 0.8215 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.345, allocations: 89.7 kB / 0.8215 GB, free: 81.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.347, allocations: 3.046 MB / 0.8245 GB, free: 78.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002046/1.349, allocations: 1.476 MB / 0.826 GB, free: 77.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/1.351, allocations: 1.135 MB / 0.8271 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.351, allocations: 301.1 kB / 0.8274 GB, free: 75.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/1.356, allocations: 4.657 MB / 0.8319 GB, free: 71.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00676/1.363, allocations: 6.784 MB / 0.8385 GB, free: 63.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/1.376, allocations: 12.07 MB / 0.8503 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.912e-05/1.376, allocations: 20 kB / 0.8503 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03634/1.413, allocations: 18.92 MB / 0.8688 GB, free: 31.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/1.413, allocations: 32 kB / 0.8689 GB, free: 31.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/1.413, allocations: 67.94 kB / 0.8689 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02195/1.435, allocations: 8.808 MB / 0.8775 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/1.439, allocations: 1.014 MB / 0.8785 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07426/1.513, allocations: 53.16 MB / 0.9304 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/1.519, allocations: 495.3 kB / 0.9309 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001435/1.52, allocations: 279.9 kB / 0.9312 GB, free: 15.21 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.004919/1.525, allocations: 2.264 MB / 0.9334 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.527, allocations: 0.489 MB / 0.9339 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03931/1.566, allocations: 17.82 MB / 0.9512 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03702/1.603, allocations: 16.34 MB / 0.9672 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/1.603, allocations: 28 kB / 0.9672 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001174/1.603, allocations: 23.86 kB / 0.9673 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3759/1.979, allocations: 33.61 MB / 1 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/1.979, allocations: 3.969 kB / 1 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.982, allocations: 453.7 kB / 1.001 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02293/2.005, allocations: 8.64 MB / 1.009 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001267/2.006, allocations: 68 kB / 1.009 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05922/2.065, allocations: 51.67 MB / 1.059 GB, free: 154.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01258/2.078, allocations: 9.591 MB / 1.069 GB, free: 144.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04208/2.12, allocations: 23.99 MB / 1.092 GB, free: 120.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/2.122, allocations: 468.8 kB / 1.093 GB, free: 120.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002435/2.124, allocations: 76.86 kB / 1.093 GB, free: 120.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/2.129, allocations: 379.4 kB / 1.093 GB, free: 120.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001922/2.131, allocations: 347.8 kB / 1.093 GB, free: 119.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004653/2.132, allocations: 99.45 kB / 1.094 GB, free: 119.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004351/2.136, allocations: 2.838 MB / 1.096 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/2.136, allocations: 0 / 1.096 GB, free: 116.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.009039/2.145, allocations: 1.977 MB / 1.098 GB, free: 114.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.04036/2.185, allocations: 24.64 MB / 1.122 GB, free: 90.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01906/2.204, allocations: 12.14 MB / 1.134 GB, free: 77.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/2.204, allocations: 8 kB / 1.134 GB, free: 77.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/2.218, allocations: 6.689 MB / 1.141 GB, free: 71.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/2.223, allocations: 0.8388 MB / 1.142 GB, free: 70.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1539/2.377, allocations: 80.43 MB / 1.22 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.291/2.668, allocations: 3.641 MB / 1.224 GB, free: 227.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004219/2.672, allocations: 1.61 MB / 1.225 GB, free: 227.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/2.676, allocations: 2.621 MB / 1.228 GB, free: 227.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.442e-06/2.676, allocations: 3.625 kB / 1.228 GB, free: 227.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2787/2.955, allocations: 174.6 MB / 1.398 GB, free: 73.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.4/26.36, allocations: 7.844 kB / 1.398 GB, free: 73.05 MB / 0.6544 GB " [Timeout remaining time 633] (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: 29.516725017980207] 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'] 26.57088615000248 26.589553166 26.091071194 Calling exit ...