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.0009272/0.0009275, allocations: 94.95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1967/0.1967, allocations: 46.18 MB / 345.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002728, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 63.57 MB / 483.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.2878/0.4149, allocations: 80.73 MB / 0.5507 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03888/0.4538, allocations: 16.19 MB / 0.5665 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01645/0.4703, allocations: 382.7 kB / 0.5669 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.4722, allocations: 481.1 kB / 0.5673 GB, free: 4 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005911/0.4782, allocations: 2.309 MB / 0.5696 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.4805, allocations: 1.199 MB / 0.5708 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01383/0.4944, allocations: 11.96 MB / 0.5824 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.5063, allocations: 7.863 MB / 0.5901 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.5104, allocations: 1.95 MB / 0.592 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004481/0.5149, allocations: 2.92 MB / 0.5949 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.5157, allocations: 184 kB / 0.5951 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.518, allocations: 1.018 MB / 0.596 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002484/0.5205, allocations: 2.477 MB / 0.5985 GB, free: 460 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.5238, allocations: 2.7 MB / 0.6011 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009025/0.5328, allocations: 8.805 MB / 0.6097 GB, free: 4.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5329, allocations: 3.938 kB / 0.6097 GB, free: 4.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5329, allocations: 0 / 0.6097 GB, free: 4.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00022/0.5331, allocations: 0 / 0.6097 GB, free: 4.887 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.01567/0.5488, allocations: 6.338 MB / 0.6159 GB, free: 14.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5488, allocations: 8.875 kB / 0.6159 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002279/0.5511, allocations: 0.7349 MB / 0.6166 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06796/0.6191, allocations: 8.996 MB / 0.6254 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.6322, allocations: 6.181 MB / 0.6314 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/0.6325, allocations: 321.7 kB / 0.6317 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.634, allocations: 419.5 kB / 0.6322 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.6575, allocations: 10.81 MB / 0.6427 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/0.6577, allocations: 59.45 kB / 0.6428 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.6582, allocations: 175.9 kB / 0.6429 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003359/0.6616, allocations: 1.725 MB / 0.6446 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.6824, allocations: 9.079 MB / 0.6535 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06167/0.7441, allocations: 44.43 MB / 0.6969 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02169/0.7658, allocations: 7.681 MB / 0.7044 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2197/0.9856, allocations: 5.121 MB / 0.7094 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/1.005, allocations: 12.7 MB / 0.7218 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/1.005, allocations: 62.5 kB / 0.7218 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 4.728e-06/1.005, allocations: 0 / 0.7218 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2197/1.225, allocations: 75.72 MB / 0.7958 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01397/1.239, allocations: 10.96 MB / 0.8065 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008225/1.247, allocations: 4.322 MB / 0.8107 GB, free: 99.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.248, allocations: 86.48 kB / 0.8108 GB, free: 99.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.25, allocations: 2.967 MB / 0.8137 GB, free: 96.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001875/1.252, allocations: 1.398 MB / 0.8151 GB, free: 95.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/1.253, allocations: 0.4946 MB / 0.8155 GB, free: 94.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/1.253, allocations: 305.1 kB / 0.8158 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00578/1.259, allocations: 4.653 MB / 0.8204 GB, free: 89.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/1.266, allocations: 6.68 MB / 0.8269 GB, free: 82.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01342/1.279, allocations: 12.07 MB / 0.8387 GB, free: 69.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.568e-05/1.279, allocations: 19.98 kB / 0.8387 GB, free: 69.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03875/1.318, allocations: 19.05 MB / 0.8573 GB, free: 50.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/1.318, allocations: 34.06 kB / 0.8573 GB, free: 50.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.318, allocations: 68 kB / 0.8574 GB, free: 50.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02382/1.342, allocations: 8.836 MB / 0.866 GB, free: 41.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.346, allocations: 1.022 MB / 0.867 GB, free: 40.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3428/1.689, allocations: 50.27 MB / 0.9161 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006438/1.696, allocations: 499.1 kB / 0.9166 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/1.696, allocations: 285 kB / 0.9169 GB, free: 160.2 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.00458/1.701, allocations: 2.269 MB / 0.9191 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.702, allocations: 478.2 kB / 0.9195 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03428/1.737, allocations: 17.98 MB / 0.9371 GB, free: 153.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03067/1.767, allocations: 16.49 MB / 0.9532 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.647e-05/1.767, allocations: 31.98 kB / 0.9532 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/1.768, allocations: 19.12 kB / 0.9533 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06397/1.832, allocations: 35.32 MB / 0.9877 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-05/1.832, allocations: 4 kB / 0.9878 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.834, allocations: 462.5 kB / 0.9882 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02359/1.858, allocations: 8.799 MB / 0.9968 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009213/1.859, allocations: 75.98 kB / 0.9969 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06065/1.919, allocations: 48.74 MB / 1.044 GB, free: 54.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01269/1.932, allocations: 9.764 MB / 1.054 GB, free: 44.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04251/1.975, allocations: 24.09 MB / 1.078 GB, free: 20.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.976, allocations: 0.5185 MB / 1.078 GB, free: 19.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/1.979, allocations: 68 kB / 1.078 GB, free: 19.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004873/1.983, allocations: 387.4 kB / 1.078 GB, free: 19.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002183/1.986, allocations: 320.1 kB / 1.079 GB, free: 19.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009062/1.987, allocations: 104 kB / 1.079 GB, free: 18.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007012/1.994, allocations: 2.836 MB / 1.082 GB, free: 16.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.91e-07/1.994, allocations: 0 / 1.082 GB, free: 16.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009438/2.003, allocations: 1.979 MB / 1.084 GB, free: 14.11 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.3303/2.333, allocations: 24.76 MB / 1.108 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02349/2.357, allocations: 12.67 MB / 1.12 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.357, allocations: 3.375 kB / 1.12 GB, free: 174.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01416/2.371, allocations: 7.207 MB / 1.127 GB, free: 171.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006917/2.378, allocations: 0.801 MB / 1.128 GB, free: 171.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/2.528, allocations: 94.08 MB / 1.22 GB, free: 91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005646/2.534, allocations: 4.152 MB / 1.224 GB, free: 86.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004148/2.538, allocations: 1.617 MB / 1.225 GB, free: 85.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003223/2.542, allocations: 2.612 MB / 1.228 GB, free: 82.59 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/2.542, allocations: 0 / 1.228 GB, free: 82.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.439/2.981, allocations: 163.9 MB / 1.388 GB, free: 123.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/2.981, allocations: 251.2 kB / 1.388 GB, free: 122.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/7.977, allocations: 0 / 1.388 GB, free: 122.9 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