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.00117/0.00117, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 76.69 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01748/0.1277, allocations: 16.81 MB / 496.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.139, allocations: 5.49 MB / 0.4907 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.142, allocations: 131.6 kB / 0.4908 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008535/0.1506, allocations: 4.638 MB / 0.4953 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.1569, allocations: 2.431 MB / 0.4977 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.1599, allocations: 1.303 MB / 0.499 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2271/0.3871, allocations: 8.607 MB / 0.5074 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006224/0.3933, allocations: 5.53 MB / 0.5128 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.3974, allocations: 2.566 MB / 0.5153 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006964/0.4044, allocations: 3.19 MB / 0.5184 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002216/0.4066, allocations: 0.4912 MB / 0.5189 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.4103, allocations: 1.256 MB / 0.5201 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003735/0.4141, allocations: 2.837 MB / 0.5229 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00485/0.419, allocations: 3.159 MB / 0.5259 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.4302, allocations: 9.253 MB / 0.535 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4303, allocations: 0 / 0.535 GB, free: 6.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4303, allocations: 0 / 0.535 GB, free: 6.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003471/0.4307, allocations: 0 / 0.535 GB, free: 6.414 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.02501/0.4557, allocations: 7.538 MB / 0.5423 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4557, allocations: 12.56 kB / 0.5424 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002239/0.458, allocations: 0.7347 MB / 0.5431 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06419/0.5222, allocations: 8.912 MB / 0.5518 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/0.537, allocations: 6.189 MB / 0.5578 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.5374, allocations: 318.9 kB / 0.5581 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.5393, allocations: 417.7 kB / 0.5585 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02498/0.5643, allocations: 10.75 MB / 0.569 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003007/0.5646, allocations: 64.33 kB / 0.5691 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/0.566, allocations: 176.7 kB / 0.5692 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.5693, allocations: 1.729 MB / 0.5709 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.5907, allocations: 9.032 MB / 0.5798 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06929/0.66, allocations: 44.39 MB / 0.6231 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.6824, allocations: 7.625 MB / 0.6306 GB, free: 7.656 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00638/0.6888, allocations: 5.124 MB / 0.6356 GB, free: 2.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02302/0.7119, allocations: 12.72 MB / 0.648 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/0.712, allocations: 60.8 kB / 0.648 GB, free: 5.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=283): time 5.681e-06/0.712, allocations: 0 / 0.648 GB, free: 5.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=406): time 0.4559/1.168, allocations: 74.59 MB / 0.7209 GB, free: 191.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01452/1.182, allocations: 11.11 MB / 0.7317 GB, free: 187.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/1.188, allocations: 4.312 MB / 0.7359 GB, free: 185.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008411/1.189, allocations: 87.45 kB / 0.736 GB, free: 185.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.19, allocations: 2.968 MB / 0.7389 GB, free: 184.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.192, allocations: 1.404 MB / 0.7403 GB, free: 183.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/1.193, allocations: 1.127 MB / 0.7414 GB, free: 182.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/1.193, allocations: 304.8 kB / 0.7417 GB, free: 182.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005191/1.199, allocations: 4.657 MB / 0.7462 GB, free: 180.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005735/1.204, allocations: 6.687 MB / 0.7528 GB, free: 176.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.216, allocations: 12.07 MB / 0.7645 GB, free: 169.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/1.216, allocations: 18.66 kB / 0.7646 GB, free: 169.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03145/1.247, allocations: 19.04 MB / 0.7832 GB, free: 153.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/1.247, allocations: 32 kB / 0.7832 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.397e-05/1.247, allocations: 64 kB / 0.7833 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02165/1.269, allocations: 8.834 MB / 0.7919 GB, free: 144.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/1.273, allocations: 1.014 MB / 0.7929 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05792/1.331, allocations: 54.03 MB / 0.8456 GB, free: 89.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006318/1.337, allocations: 496.3 kB / 0.8461 GB, free: 88.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.338, allocations: 285.3 kB / 0.8464 GB, free: 88.42 MB / 0.545 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.006046/1.344, allocations: 2.264 MB / 0.8486 GB, free: 86.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.345, allocations: 481.8 kB / 0.8491 GB, free: 85.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03189/1.377, allocations: 17.95 MB / 0.8666 GB, free: 67.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02955/1.407, allocations: 16.47 MB / 0.8827 GB, free: 51.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-05/1.407, allocations: 32 kB / 0.8827 GB, free: 51.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/1.407, allocations: 19.92 kB / 0.8827 GB, free: 51.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05828/1.465, allocations: 35.28 MB / 0.9172 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/1.466, allocations: 4 kB / 0.9172 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/1.468, allocations: 459.3 kB / 0.9176 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2406/1.709, allocations: 8.666 MB / 0.9261 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008467/1.709, allocations: 73.66 kB / 0.9262 GB, free: 180.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06279/1.772, allocations: 52.54 MB / 0.9775 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01206/1.784, allocations: 9.824 MB / 0.9871 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03718/1.822, allocations: 24.08 MB / 1.011 GB, free: 126.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.823, allocations: 0.5076 MB / 1.011 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/1.824, allocations: 75.12 kB / 1.011 GB, free: 126.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/1.829, allocations: 383.4 kB / 1.012 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001662/1.83, allocations: 331.6 kB / 1.012 GB, free: 125.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005384/1.831, allocations: 95.98 kB / 1.012 GB, free: 125.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003579/1.834, allocations: 2.836 MB / 1.015 GB, free: 122.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.834, allocations: 0 / 1.015 GB, free: 122.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005851/1.84, allocations: 1.977 MB / 1.017 GB, free: 120.6 MB / 0.545 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.03565/1.876, allocations: 24.74 MB / 1.041 GB, free: 95.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02549/1.902, allocations: 19.07 MB / 1.059 GB, free: 76.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.902, allocations: 0 / 1.059 GB, free: 76.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/1.912, allocations: 7.217 MB / 1.066 GB, free: 69.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/1.918, allocations: 0.8537 MB / 1.067 GB, free: 68.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3517/2.269, allocations: 91.7 MB / 1.157 GB, free: 166.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005526/2.275, allocations: 4.144 MB / 1.161 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00482/2.28, allocations: 1.608 MB / 1.162 GB, free: 165.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004245/2.284, allocations: 2.618 MB / 1.165 GB, free: 163.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.753e-06/2.284, allocations: 4.281 kB / 1.165 GB, free: 163.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6999/2.984, allocations: 173.1 MB / 1.334 GB, free: 159 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/18.21, allocations: 6.891 kB / 1.334 GB, free: 159 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