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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.53 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 62.46 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3667/0.5147, allocations: 82.71 MB / 0.5491 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05027/0.565, allocations: 16.16 MB / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01857/0.5837, allocations: 386.5 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008275/0.592, allocations: 4.487 MB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007842/0.5999, allocations: 2.265 MB / 0.5719 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.603, allocations: 1.233 MB / 0.5731 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.6152, allocations: 9.335 MB / 0.5822 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008286/0.6235, allocations: 5.786 MB / 0.5878 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.6286, allocations: 2.672 MB / 0.5905 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005849/0.6345, allocations: 3.545 MB / 0.5939 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002463/0.6369, allocations: 500 kB / 0.5944 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.6411, allocations: 1.272 MB / 0.5956 GB, free: 316 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004574/0.6457, allocations: 2.876 MB / 0.5984 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00702/0.6527, allocations: 3.171 MB / 0.6015 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.6658, allocations: 9.288 MB / 0.6106 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6658, allocations: 0 / 0.6106 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6659, allocations: 0 / 0.6106 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000394/0.6663, allocations: 0 / 0.6106 GB, free: 0.9219 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.02325/0.6895, allocations: 7.539 MB / 0.618 GB, free: 9.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6896, allocations: 8.031 kB / 0.618 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002256/0.6918, allocations: 0.7349 MB / 0.6187 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06323/0.7551, allocations: 8.907 MB / 0.6274 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.7698, allocations: 6.197 MB / 0.6334 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.7702, allocations: 333.6 kB / 0.6338 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.7718, allocations: 415.6 kB / 0.6342 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.7957, allocations: 10.75 MB / 0.6447 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.796, allocations: 59.45 kB / 0.6447 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001238/0.7973, allocations: 179.9 kB / 0.6449 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003421/0.8007, allocations: 1.718 MB / 0.6466 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/0.8218, allocations: 9.044 MB / 0.6554 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08881/0.9107, allocations: 44.38 MB / 0.6987 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.272/1.183, allocations: 7.622 MB / 0.7062 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006916/1.19, allocations: 5.126 MB / 0.7112 GB, free: 182.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.21, allocations: 12.72 MB / 0.7236 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.211, allocations: 64.3 kB / 0.7237 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 6.602e-06/1.211, allocations: 1.375 kB / 0.7237 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.205/1.416, allocations: 74.6 MB / 0.7965 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01364/1.429, allocations: 11.1 MB / 0.8074 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006777/1.436, allocations: 4.314 MB / 0.8116 GB, free: 97.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.437, allocations: 93.45 kB / 0.8117 GB, free: 97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/1.439, allocations: 2.967 MB / 0.8146 GB, free: 94.03 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.44, allocations: 1.399 MB / 0.8159 GB, free: 92.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001821/1.442, allocations: 1.139 MB / 0.817 GB, free: 91.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/1.442, allocations: 301.1 kB / 0.8173 GB, free: 91.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/1.447, allocations: 4.653 MB / 0.8219 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006036/1.453, allocations: 6.68 MB / 0.8284 GB, free: 78.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/1.466, allocations: 12.08 MB / 0.8402 GB, free: 65.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-05/1.466, allocations: 16 kB / 0.8402 GB, free: 65.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.05118/1.517, allocations: 19.03 MB / 0.8588 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/1.517, allocations: 34.5 kB / 0.8588 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.232e-05/1.517, allocations: 64.09 kB / 0.8589 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03333/1.551, allocations: 8.834 MB / 0.8675 GB, free: 37.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00597/1.557, allocations: 1.014 MB / 0.8685 GB, free: 36.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3353/1.892, allocations: 54.03 MB / 0.9213 GB, free: 157 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/1.899, allocations: 492.4 kB / 0.9217 GB, free: 156.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.9, allocations: 281.9 kB / 0.922 GB, free: 156.9 MB / 0.5294 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.005029/1.905, allocations: 2.255 MB / 0.9242 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.906, allocations: 487.7 kB / 0.9247 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03105/1.937, allocations: 17.97 MB / 0.9422 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02932/1.966, allocations: 16.47 MB / 0.9583 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.272e-05/1.966, allocations: 28 kB / 0.9583 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001112/1.967, allocations: 19.92 kB / 0.9583 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05723/2.024, allocations: 35.28 MB / 0.9928 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/2.024, allocations: 4 kB / 0.9928 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/2.026, allocations: 455.2 kB / 0.9932 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02177/2.048, allocations: 8.684 MB / 1.002 GB, free: 95.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001409/2.049, allocations: 71.94 kB / 1.002 GB, free: 95.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05953/2.109, allocations: 52.53 MB / 1.053 GB, free: 43.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0127/2.122, allocations: 9.822 MB / 1.063 GB, free: 33.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.039/2.161, allocations: 24.08 MB / 1.086 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/2.163, allocations: 0.5116 MB / 1.087 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/2.165, allocations: 72.88 kB / 1.087 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004205/2.169, allocations: 383.4 kB / 1.087 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002036/2.171, allocations: 328.1 kB / 1.087 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004943/2.172, allocations: 95.98 kB / 1.088 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004028/2.176, allocations: 2.836 MB / 1.09 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/2.176, allocations: 0 / 1.09 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007619/2.184, allocations: 1.98 MB / 1.092 GB, free: 2.883 MB / 0.5294 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.3044/2.488, allocations: 24.75 MB / 1.116 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03062/2.519, allocations: 19.08 MB / 1.135 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/2.519, allocations: 0 / 1.135 GB, free: 167.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01115/2.53, allocations: 7.214 MB / 1.142 GB, free: 164.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/2.534, allocations: 0.8543 MB / 1.143 GB, free: 164.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/2.676, allocations: 93.99 MB / 1.235 GB, free: 73.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00486/2.681, allocations: 4.152 MB / 1.239 GB, free: 69.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004106/2.685, allocations: 1.613 MB / 1.24 GB, free: 67.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/2.688, allocations: 2.612 MB / 1.243 GB, free: 65.18 MB / 0.545 GB Notification: Performance of SimCode: time 1.423e-06/2.688, allocations: 4 kB / 1.243 GB, free: 65.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4349/3.123, allocations: 173.1 MB / 1.412 GB, free: 99.19 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/3.123, allocations: 244.2 kB / 1.412 GB, free: 98.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.52/8.644, allocations: 0 / 1.412 GB, free: 98.94 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat