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.0008383/0.0008382, allocations: 94.52 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3512/0.4898, allocations: 75.59 MB / 0.5442 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05019/0.5401, allocations: 15.79 MB / 0.5596 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02618/0.5663, allocations: 377.6 kB / 0.56 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01527/0.5816, allocations: 3.81 MB / 0.5637 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04018/0.6218, allocations: 11.35 MB / 0.5748 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.6291, allocations: 1.136 MB / 0.5759 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.167/0.7961, allocations: 119.7 MB / 0.6928 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01296/0.8091, allocations: 7.051 MB / 0.6996 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005426/0.8146, allocations: 2.082 MB / 0.7017 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006531/0.8212, allocations: 2.921 MB / 0.7045 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002178/0.8234, allocations: 188 kB / 0.7047 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.8278, allocations: 0.8349 MB / 0.7055 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004686/0.8325, allocations: 2.462 MB / 0.7079 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.3584/1.191, allocations: 1.077 MB / 0.709 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.203, allocations: 7.345 MB / 0.7162 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/1.203, allocations: 0 / 0.7162 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.699e-06/1.203, allocations: 0 / 0.7162 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004877/1.204, allocations: 0.6875 kB / 0.7162 GB, free: 122.3 MB / 0.5294 GB 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.0243/1.228, allocations: 6.423 MB / 0.7224 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.228, allocations: 8.75 kB / 0.7224 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004228/1.232, allocations: 0.7378 MB / 0.7232 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05582/1.288, allocations: 8.998 MB / 0.7319 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.306, allocations: 6.057 MB / 0.7379 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004678/1.306, allocations: 317.4 kB / 0.7382 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/1.309, allocations: 419.8 kB / 0.7386 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02617/1.335, allocations: 10.77 MB / 0.7491 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/1.335, allocations: 58.33 kB / 0.7491 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006228/1.336, allocations: 183.2 kB / 0.7493 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002847/1.339, allocations: 1.726 MB / 0.751 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/1.36, allocations: 9.049 MB / 0.7598 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05736/1.417, allocations: 44.4 MB / 0.8032 GB, free: 69.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01872/1.436, allocations: 7.679 MB / 0.8107 GB, free: 61.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005901/1.442, allocations: 5.12 MB / 0.8157 GB, free: 56.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/1.46, allocations: 12.7 MB / 0.8281 GB, free: 43.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.046e-05/1.46, allocations: 62.55 kB / 0.8282 GB, free: 43.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 6.212e-06/1.46, allocations: 3.469 kB / 0.8282 GB, free: 43.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.234/1.694, allocations: 75.6 MB / 0.902 GB, free: 296 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01858/1.713, allocations: 10.95 MB / 0.9127 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0118/1.724, allocations: 4.294 MB / 0.9169 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001567/1.726, allocations: 89.7 kB / 0.917 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003738/1.73, allocations: 2.979 MB / 0.9199 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003126/1.733, allocations: 1.397 MB / 0.9212 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/1.734, allocations: 113.6 kB / 0.9213 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0006748/1.735, allocations: 0.5431 MB / 0.9219 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008375/1.744, allocations: 4.637 MB / 0.9264 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3357/2.079, allocations: 6.651 MB / 0.9329 GB, free: 237.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.09, allocations: 5.591 MB / 0.9384 GB, free: 237.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.008e-05/2.09, allocations: 17.69 kB / 0.9384 GB, free: 237.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04129/2.131, allocations: 18.99 MB / 0.9569 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/2.132, allocations: 30.88 kB / 0.9569 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-05/2.132, allocations: 66.34 kB / 0.957 GB, free: 232.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02179/2.153, allocations: 8.789 MB / 0.9656 GB, free: 230.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004179/2.158, allocations: 1.023 MB / 0.9666 GB, free: 230.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05968/2.217, allocations: 50.25 MB / 1.016 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/2.224, allocations: 0.4958 MB / 1.016 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/2.225, allocations: 276.7 kB / 1.016 GB, free: 181.2 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006198/2.232, allocations: 2.266 MB / 1.019 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/2.233, allocations: 485.9 kB / 1.019 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03387/2.267, allocations: 17.94 MB / 1.037 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0308/2.298, allocations: 16.44 MB / 1.053 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/2.298, allocations: 32.83 kB / 1.053 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.827e-05/2.298, allocations: 19.92 kB / 1.053 GB, free: 144.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05889/2.357, allocations: 35.29 MB / 1.087 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-05/2.357, allocations: 6.953 kB / 1.087 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/2.36, allocations: 463.7 kB / 1.088 GB, free: 108.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02134/2.381, allocations: 8.793 MB / 1.096 GB, free: 99.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001426/2.382, allocations: 75.98 kB / 1.096 GB, free: 99.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05861/2.441, allocations: 48.67 MB / 1.144 GB, free: 50.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01261/2.454, allocations: 9.742 MB / 1.153 GB, free: 40.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03857/2.492, allocations: 24.05 MB / 1.177 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/2.494, allocations: 0.5173 MB / 1.177 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/2.496, allocations: 68 kB / 1.177 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/2.499, allocations: 391.4 kB / 1.178 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/2.5, allocations: 324.1 kB / 1.178 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/2.501, allocations: 99.98 kB / 1.178 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004467/2.505, allocations: 2.813 MB / 1.181 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/2.505, allocations: 0 / 1.181 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.3093/2.815, allocations: 1.987 MB / 1.183 GB, free: 225.1 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.04957/2.864, allocations: 24.71 MB / 1.207 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01998/2.884, allocations: 12.62 MB / 1.219 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/2.884, allocations: 1.312 kB / 1.219 GB, free: 217.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01393/2.898, allocations: 7.188 MB / 1.226 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007526/2.906, allocations: 0.8029 MB / 1.227 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/3.025, allocations: 64.48 MB / 1.29 GB, free: 150.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/3.03, allocations: 4.156 MB / 1.294 GB, free: 146.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004547/3.035, allocations: 1.609 MB / 1.296 GB, free: 144.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004025/3.039, allocations: 2.616 MB / 1.298 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/3.039, allocations: 0 / 1.298 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.536/3.575, allocations: 165.1 MB / 1.459 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/3.575, allocations: 233.2 kB / 1.46 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.473/9.048, allocations: 3 kB / 1.46 GB, free: 216.2 MB / 0.5919 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/linux/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