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.001849/0.001849, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.11 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 79.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3772, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01976/0.397, allocations: 16.81 MB / 0.5471 GB, free: 124 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.4099, allocations: 5.48 MB / 0.5524 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.4136, allocations: 131.6 kB / 0.5525 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009804/0.4235, allocations: 4.642 MB / 0.5571 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008303/0.4318, allocations: 2.431 MB / 0.5594 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.4358, allocations: 1.307 MB / 0.5607 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01479/0.4506, allocations: 8.624 MB / 0.5691 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00808/0.4587, allocations: 5.533 MB / 0.5745 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005609/0.4644, allocations: 2.567 MB / 0.577 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0061/0.4705, allocations: 3.186 MB / 0.5802 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002081/0.4726, allocations: 0.4922 MB / 0.5806 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.4767, allocations: 1.26 MB / 0.5819 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004801/0.4815, allocations: 2.837 MB / 0.5846 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007051/0.4886, allocations: 3.159 MB / 0.5877 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.5031, allocations: 9.445 MB / 0.5969 GB, free: 13.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5031, allocations: 3.938 kB / 0.597 GB, free: 13.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5031, allocations: 0 / 0.597 GB, free: 13.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.5034, allocations: 4 kB / 0.597 GB, free: 13.53 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.02351/0.5269, allocations: 7.707 MB / 0.6045 GB, free: 5.734 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.527, allocations: 12.03 kB / 0.6045 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00235/0.5294, allocations: 0.7388 MB / 0.6052 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07043/0.5998, allocations: 8.934 MB / 0.6139 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/0.615, allocations: 6.387 MB / 0.6202 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004538/0.6155, allocations: 321.5 kB / 0.6205 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/0.617, allocations: 415.7 kB / 0.6209 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02502/0.642, allocations: 10.75 MB / 0.6314 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002311/0.6423, allocations: 63.53 kB / 0.6314 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/0.6429, allocations: 179.9 kB / 0.6316 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/0.6464, allocations: 1.729 MB / 0.6333 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.6688, allocations: 9.028 MB / 0.6421 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06807/0.7369, allocations: 44.21 MB / 0.6853 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/0.7596, allocations: 7.636 MB / 0.6928 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007081/0.7667, allocations: 5.123 MB / 0.6978 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02019/0.787, allocations: 12.73 MB / 0.7102 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.897e-05/0.7871, allocations: 64.8 kB / 0.7102 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 4.398e-06/0.7871, allocations: 0 / 0.7102 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=406): time 0.4982/1.285, allocations: 74.65 MB / 0.7831 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0133/1.299, allocations: 11.11 MB / 0.794 GB, free: 104.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005323/1.304, allocations: 4.314 MB / 0.7982 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.305, allocations: 93.7 kB / 0.7983 GB, free: 99.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.307, allocations: 3.05 MB / 0.8013 GB, free: 97.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/1.309, allocations: 1.474 MB / 0.8027 GB, free: 95.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001979/1.311, allocations: 1.139 MB / 0.8038 GB, free: 94.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/1.311, allocations: 305.1 kB / 0.8041 GB, free: 94.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005183/1.316, allocations: 4.653 MB / 0.8087 GB, free: 89.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00648/1.323, allocations: 6.68 MB / 0.8152 GB, free: 82.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/1.337, allocations: 12.07 MB / 0.827 GB, free: 69.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-05/1.337, allocations: 16 kB / 0.827 GB, free: 69.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03462/1.371, allocations: 19.05 MB / 0.8456 GB, free: 50.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/1.371, allocations: 35.94 kB / 0.8456 GB, free: 50.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.832e-05/1.371, allocations: 71.92 kB / 0.8457 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02285/1.394, allocations: 8.823 MB / 0.8543 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003986/1.398, allocations: 1.014 MB / 0.8553 GB, free: 40.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06752/1.466, allocations: 54.03 MB / 0.9081 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006844/1.473, allocations: 495.3 kB / 0.9085 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.474, allocations: 287.9 kB / 0.9088 GB, free: 0.9688 MB / 0.5762 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.006229/1.481, allocations: 2.27 MB / 0.911 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/1.482, allocations: 0.4928 MB / 0.9115 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04133/1.523, allocations: 17.96 MB / 0.929 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03892/1.562, allocations: 16.47 MB / 0.9451 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-05/1.563, allocations: 28 kB / 0.9452 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/1.563, allocations: 23.92 kB / 0.9452 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3655/1.928, allocations: 35.08 MB / 0.9794 GB, free: 202.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.586e-05/1.928, allocations: 3.875 kB / 0.9794 GB, free: 202.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.931, allocations: 459.7 kB / 0.9799 GB, free: 202.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02266/1.953, allocations: 8.646 MB / 0.9883 GB, free: 198.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001051/1.955, allocations: 72 kB / 0.9884 GB, free: 198.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05943/2.014, allocations: 52.59 MB / 1.04 GB, free: 145.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01198/2.026, allocations: 9.827 MB / 1.049 GB, free: 135.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03816/2.064, allocations: 24.11 MB / 1.073 GB, free: 111.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/2.066, allocations: 0.5331 MB / 1.073 GB, free: 111.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/2.068, allocations: 72.11 kB / 1.073 GB, free: 111.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004488/2.072, allocations: 391.3 kB / 1.074 GB, free: 111.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001792/2.074, allocations: 318.4 kB / 1.074 GB, free: 110.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004164/2.074, allocations: 104 kB / 1.074 GB, free: 110.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004074/2.078, allocations: 2.835 MB / 1.077 GB, free: 107.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.71e-07/2.078, allocations: 0 / 1.077 GB, free: 107.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008624/2.087, allocations: 1.98 MB / 1.079 GB, free: 105.8 MB / 0.6231 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.039/2.126, allocations: 24.76 MB / 1.103 GB, free: 80.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01881/2.145, allocations: 12.74 MB / 1.116 GB, free: 68.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.145, allocations: 0 / 1.116 GB, free: 68.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01223/2.157, allocations: 7.236 MB / 1.123 GB, free: 60.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/2.163, allocations: 0.8487 MB / 1.123 GB, free: 60.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4238/2.587, allocations: 80.6 MB / 1.202 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005619/2.593, allocations: 4.149 MB / 1.206 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003746/2.597, allocations: 1.615 MB / 1.208 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003646/2.6, allocations: 2.615 MB / 1.21 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.213e-06/2.6, allocations: 0 / 1.21 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2198/2.82, allocations: 171 MB / 1.377 GB, free: 59.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.5/34.32, allocations: 7.719 kB / 1.377 GB, free: 59.48 MB / 0.6387 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