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.001469/0.001469, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.81 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1285, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.3073/0.4358, allocations: 82.71 MB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04489/0.4808, allocations: 16.27 MB / 0.5648 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01968/0.5005, allocations: 387.4 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00872/0.5093, allocations: 4.648 MB / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006819/0.5161, allocations: 2.285 MB / 0.572 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.5192, allocations: 1.205 MB / 0.5731 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.5347, allocations: 11.96 MB / 0.5848 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008121/0.5428, allocations: 5.362 MB / 0.59 GB, free: 5.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/0.548, allocations: 2.344 MB / 0.5923 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005745/0.5538, allocations: 3.416 MB / 0.5957 GB, free: 196 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.5557, allocations: 344 kB / 0.596 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.5592, allocations: 1.182 MB / 0.5972 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004119/0.5634, allocations: 2.712 MB / 0.5998 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005664/0.5691, allocations: 2.968 MB / 0.6027 GB, free: 8.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5809, allocations: 9.1 MB / 0.6116 GB, free: 15.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.581, allocations: 8 kB / 0.6116 GB, free: 15.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.581, allocations: 0 / 0.6116 GB, free: 15.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003941/0.5814, allocations: 0 / 0.6116 GB, free: 15.82 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.02264/0.6041, allocations: 7.535 MB / 0.619 GB, free: 8.203 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.6041, allocations: 12.88 kB / 0.619 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002025/0.6062, allocations: 0.7349 MB / 0.6197 GB, free: 7.445 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06206/0.6682, allocations: 8.899 MB / 0.6284 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/0.6856, allocations: 6.2 MB / 0.6344 GB, free: 8.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/0.6862, allocations: 325.7 kB / 0.6347 GB, free: 7.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/0.6886, allocations: 415.6 kB / 0.6351 GB, free: 7.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02522/0.7139, allocations: 10.75 MB / 0.6456 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/0.7141, allocations: 67.39 kB / 0.6457 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005688/0.7147, allocations: 183.9 kB / 0.6459 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003304/0.718, allocations: 1.725 MB / 0.6476 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02021/0.7382, allocations: 9.028 MB / 0.6564 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06029/0.7985, allocations: 44.38 MB / 0.6997 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2763/1.075, allocations: 7.629 MB / 0.7072 GB, free: 184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00636/1.081, allocations: 5.122 MB / 0.7122 GB, free: 182 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/1.102, allocations: 12.72 MB / 0.7246 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/1.102, allocations: 67.17 kB / 0.7247 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=283): time 6.482e-06/1.102, allocations: 1.078 kB / 0.7247 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=406): time 0.2182/1.32, allocations: 74.53 MB / 0.7974 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01321/1.333, allocations: 10.93 MB / 0.8081 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/1.34, allocations: 4.306 MB / 0.8123 GB, free: 96.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/1.341, allocations: 97.38 kB / 0.8124 GB, free: 96.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.343, allocations: 2.968 MB / 0.8153 GB, free: 93.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002279/1.345, allocations: 1.4 MB / 0.8167 GB, free: 91.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005667/1.351, allocations: 1.139 MB / 0.8178 GB, free: 90.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.801e-05/1.351, allocations: 312 kB / 0.8181 GB, free: 90.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006361/1.358, allocations: 4.649 MB / 0.8226 GB, free: 85.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007358/1.365, allocations: 6.686 MB / 0.8292 GB, free: 78.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/1.379, allocations: 12.07 MB / 0.8409 GB, free: 65.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-05/1.379, allocations: 20 kB / 0.841 GB, free: 65.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03792/1.417, allocations: 19.03 MB / 0.8596 GB, free: 46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/1.417, allocations: 32 kB / 0.8596 GB, free: 45.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.417, allocations: 67.94 kB / 0.8596 GB, free: 45.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02267/1.44, allocations: 8.805 MB / 0.8682 GB, free: 37.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/1.444, allocations: 1.014 MB / 0.8692 GB, free: 36.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2715/1.716, allocations: 50.16 MB / 0.9182 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/1.721, allocations: 492.4 kB / 0.9187 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.722, allocations: 285.4 kB / 0.919 GB, free: 158.4 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.004341/1.727, allocations: 2.258 MB / 0.9212 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.728, allocations: 485.9 kB / 0.9216 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03131/1.76, allocations: 17.96 MB / 0.9392 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02866/1.788, allocations: 16.48 MB / 0.9553 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.355e-05/1.788, allocations: 27.94 kB / 0.9553 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/1.788, allocations: 19.92 kB / 0.9553 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05393/1.842, allocations: 35.28 MB / 0.9898 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/1.842, allocations: 4 kB / 0.9898 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/1.845, allocations: 455.3 kB / 0.9902 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02167/1.866, allocations: 8.772 MB / 0.9988 GB, free: 98.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009585/1.867, allocations: 75.98 kB / 0.9988 GB, free: 98.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05602/1.923, allocations: 48.61 MB / 1.046 GB, free: 50 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01175/1.935, allocations: 9.727 MB / 1.056 GB, free: 40.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03756/1.973, allocations: 24.08 MB / 1.079 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.974, allocations: 0.5107 MB / 1.08 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/1.975, allocations: 76 kB / 1.08 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.978, allocations: 383.4 kB / 1.08 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/1.98, allocations: 320.1 kB / 1.081 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003381/1.98, allocations: 95.98 kB / 1.081 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003955/1.984, allocations: 2.84 MB / 1.083 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.984, allocations: 0 / 1.083 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007286/1.991, allocations: 1.98 MB / 1.085 GB, free: 9.797 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.2814/2.273, allocations: 24.75 MB / 1.11 GB, free: 177.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02751/2.3, allocations: 12.67 MB / 1.122 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.3, allocations: 1.375 kB / 1.122 GB, free: 174.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01358/2.314, allocations: 7.218 MB / 1.129 GB, free: 171.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/2.32, allocations: 0.7911 MB / 1.13 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1461/2.466, allocations: 94 MB / 1.222 GB, free: 88.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00409/2.47, allocations: 4.152 MB / 1.226 GB, free: 83.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003928/2.474, allocations: 1.613 MB / 1.227 GB, free: 82.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00328/2.477, allocations: 2.608 MB / 1.23 GB, free: 79.64 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/2.477, allocations: 0 / 1.23 GB, free: 79.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4595/2.937, allocations: 168.1 MB / 1.394 GB, free: 113.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/2.937, allocations: 257.1 kB / 1.394 GB, free: 113.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.955/7.892, allocations: 7.812 kB / 1.394 GB, free: 113.5 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