Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 101.4 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2172/0.2172, allocations: 43.51 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.67 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1098, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01484/0.1247, allocations: 16.98 MB / 457.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.1376, allocations: 5.449 MB / 463 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/0.1423, allocations: 131.6 kB / 463.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008637/0.1511, allocations: 4.665 MB / 467.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007311/0.1584, allocations: 2.466 MB / 470.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.1615, allocations: 1.318 MB / 471.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.1723, allocations: 7.743 MB / 479.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007583/0.1799, allocations: 5.552 MB / 484.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.1845, allocations: 2.575 MB / 487.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.1895, allocations: 3.217 MB / 490.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001707/0.1912, allocations: 0.4922 MB / 491.2 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.1947, allocations: 1.28 MB / 492.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004094/0.1988, allocations: 2.868 MB / 495.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005738/0.2046, allocations: 3.194 MB / 498.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.2167, allocations: 9.342 MB / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2167, allocations: 0 / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2167, allocations: 0 / 0.496 GB, free: 3.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003803/0.2171, allocations: 0 / 0.496 GB, free: 3.27 MB / 382.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.02324/0.2403, allocations: 7.57 MB / 0.5034 GB, free: 11.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2404, allocations: 15.89 kB / 0.5034 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002126/0.2425, allocations: 0.7348 MB / 0.5041 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06852/0.3111, allocations: 8.914 MB / 0.5128 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.3257, allocations: 7.275 MB / 0.5199 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.3261, allocations: 325.5 kB / 0.5202 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.3277, allocations: 415.5 kB / 0.5206 GB, free: 9.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2236/0.5514, allocations: 10.75 MB / 0.5311 GB, free: 82.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/0.5517, allocations: 59.31 kB / 0.5312 GB, free: 82.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/0.5522, allocations: 179.3 kB / 0.5313 GB, free: 82.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.5557, allocations: 1.728 MB / 0.533 GB, free: 82.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.5781, allocations: 9.032 MB / 0.5419 GB, free: 80.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05434/0.6325, allocations: 44.47 MB / 0.5853 GB, free: 43.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01951/0.652, allocations: 7.618 MB / 0.5927 GB, free: 35.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004917/0.657, allocations: 5.126 MB / 0.5977 GB, free: 30.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01714/0.6742, allocations: 12.75 MB / 0.6102 GB, free: 17.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.6742, allocations: 60.8 kB / 0.6102 GB, free: 17.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=283): time 4.278e-06/0.6742, allocations: 0 / 0.6102 GB, free: 17.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=406): time 0.2397/0.9139, allocations: 74.8 MB / 0.6833 GB, free: 6.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0181/0.9321, allocations: 11.1 MB / 0.6941 GB, free: 11.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/0.9422, allocations: 4.391 MB / 0.6984 GB, free: 6.707 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001301/0.9435, allocations: 85.7 kB / 0.6985 GB, free: 6.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002855/0.9464, allocations: 2.97 MB / 0.7014 GB, free: 3.613 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00241/0.9488, allocations: 1.402 MB / 0.7028 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003799/0.9526, allocations: 1.131 MB / 0.7039 GB, free: 1.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9528, allocations: 309.1 kB / 0.7042 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007366/0.9601, allocations: 4.657 MB / 0.7087 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008955/0.9691, allocations: 6.684 MB / 0.7152 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2277/1.197, allocations: 12.07 MB / 0.727 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.613e-05/1.197, allocations: 18.94 kB / 0.727 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04555/1.243, allocations: 19.03 MB / 0.7456 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/1.243, allocations: 31.06 kB / 0.7457 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.805e-05/1.243, allocations: 67.97 kB / 0.7457 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02299/1.266, allocations: 8.839 MB / 0.7544 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/1.27, allocations: 1.014 MB / 0.7553 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06606/1.336, allocations: 54.02 MB / 0.8081 GB, free: 99.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/1.343, allocations: 496.6 kB / 0.8086 GB, free: 99.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.345, allocations: 283.9 kB / 0.8088 GB, free: 99.12 MB / 0.4981 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.005456/1.35, allocations: 2.273 MB / 0.8111 GB, free: 96.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.352, allocations: 486.3 kB / 0.8115 GB, free: 96.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03413/1.386, allocations: 17.96 MB / 0.8291 GB, free: 78.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0327/1.419, allocations: 16.48 MB / 0.8452 GB, free: 62.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001402/1.419, allocations: 28 kB / 0.8452 GB, free: 62.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001656/1.419, allocations: 19.92 kB / 0.8452 GB, free: 62.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06888/1.488, allocations: 35.31 MB / 0.8797 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-05/1.488, allocations: 7.938 kB / 0.8797 GB, free: 26.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.491, allocations: 460.6 kB / 0.8801 GB, free: 26.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02284/1.514, allocations: 8.674 MB / 0.8886 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001407/1.515, allocations: 71.98 kB / 0.8887 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3099/1.825, allocations: 52.52 MB / 0.94 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01302/1.838, allocations: 9.824 MB / 0.9496 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04067/1.879, allocations: 24.09 MB / 0.9731 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004177/1.883, allocations: 1.437 MB / 0.9745 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002149/1.885, allocations: 75.98 kB / 0.9746 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004797/1.89, allocations: 379.4 kB / 0.9749 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001653/1.892, allocations: 325.6 kB / 0.9752 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/1.892, allocations: 99.98 kB / 0.9753 GB, free: 137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00432/1.897, allocations: 2.884 MB / 0.9781 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/1.897, allocations: 3.906 kB / 0.9781 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007292/1.904, allocations: 1.992 MB / 0.9801 GB, free: 132.1 MB / 0.5137 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.04601/1.95, allocations: 24.75 MB / 1.004 GB, free: 107.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.04871/1.999, allocations: 19.07 MB / 1.023 GB, free: 88.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.875e-05/1.999, allocations: 3.906 kB / 1.023 GB, free: 88.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/2.018, allocations: 7.205 MB / 1.03 GB, free: 81.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009623/2.028, allocations: 0.8545 MB / 1.031 GB, free: 80.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.388/2.416, allocations: 92.43 MB / 1.121 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005419/2.421, allocations: 4.176 MB / 1.125 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004459/2.426, allocations: 1.613 MB / 1.127 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003532/2.429, allocations: 2.632 MB / 1.129 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.713e-06/2.429, allocations: 0 / 1.129 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.534/2.963, allocations: 173.8 MB / 1.299 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/18.7, allocations: 9.594 kB / 1.299 GB, free: 150.5 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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.002 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)