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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.000942/0.0009421, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000846/0.000846, allocations: 103.5 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.982e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 63.25 MB / 0.5045 GB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5745, allocations: 106.6 MB / 0.6086 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5747, allocations: 73.59 kB / 0.6087 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.299/0.8737, allocations: 116.3 MB / 0.7222 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8738, allocations: 0 / 0.7222 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005967/0.8744, allocations: 112 kB / 0.7224 GB, free: 15.84 MB / 0.5105 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.02259/0.897, allocations: 6.185 MB / 0.7284 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.8971, allocations: 12.03 kB / 0.7284 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04044/0.9375, allocations: 10.13 MB / 0.7383 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02314/0.9607, allocations: 8.31 MB / 0.7464 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.9612, allocations: 222.6 kB / 0.7466 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002933/0.9642, allocations: 299.6 kB / 0.7469 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0143/0.9785, allocations: 6.299 MB / 0.7531 GB, free: 204 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3474/1.326, allocations: 8.885 MB / 0.7617 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/1.326, allocations: 60.05 kB / 0.7618 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005223/1.327, allocations: 18.11 kB / 0.7618 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001729/1.329, allocations: 0.9912 MB / 0.7628 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05637/1.385, allocations: 42.93 MB / 0.8047 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006532/1.392, allocations: 5.707 MB / 0.8103 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004612/1.396, allocations: 4.844 MB / 0.815 GB, free: 97.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.397, allocations: 1.122 MB / 0.8161 GB, free: 96.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.397, allocations: 69.91 kB / 0.8162 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 5.721e-06/1.397, allocations: 0 / 0.8162 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=415): time 0.1326/1.53, allocations: 59.61 MB / 0.8744 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.53, allocations: 197.5 kB / 0.8746 GB, free: 70.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005521/1.536, allocations: 3.184 MB / 0.8777 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.537, allocations: 29.7 kB / 0.8777 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/1.539, allocations: 2.999 MB / 0.8806 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001857/1.541, allocations: 1.381 MB / 0.882 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/1.541, allocations: 0 / 0.882 GB, free: 63.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002477/1.541, allocations: 0.5343 MB / 0.8825 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/1.546, allocations: 4.254 MB / 0.8867 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005807/1.552, allocations: 6.271 MB / 0.8928 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005794/1.557, allocations: 5.226 MB / 0.8979 GB, free: 48.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/1.558, allocations: 19.94 kB / 0.8979 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03291/1.59, allocations: 17.64 MB / 0.9151 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/1.591, allocations: 33.09 kB / 0.9152 GB, free: 34.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-05/1.591, allocations: 68 kB / 0.9152 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02247/1.613, allocations: 8.356 MB / 0.9234 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004389/1.618, allocations: 1.049 MB / 0.9244 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3902/2.008, allocations: 45.33 MB / 0.9687 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006835/2.015, allocations: 384.6 kB / 0.9691 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/2.016, allocations: 284.2 kB / 0.9693 GB, free: 122.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 526 * Array equations: 2 * 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,51.4%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.00152/2.018, allocations: 319.7 kB / 0.9696 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03648/2.055, allocations: 16.07 MB / 0.9853 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00261/2.057, allocations: 457.5 kB / 0.9858 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03149/2.089, allocations: 16.95 MB / 1.002 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02808/2.117, allocations: 15.58 MB / 1.018 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.153e-05/2.117, allocations: 31.55 kB / 1.018 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/2.117, allocations: 22.97 kB / 1.018 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05771/2.175, allocations: 33.37 MB / 1.05 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.769e-05/2.175, allocations: 6.875 kB / 1.05 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/2.177, allocations: 442.7 kB / 1.051 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0212/2.198, allocations: 7.954 MB / 1.058 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009758/2.199, allocations: 14.3 kB / 1.058 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05304/2.252, allocations: 44.37 MB / 1.102 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01138/2.264, allocations: 9.138 MB / 1.111 GB, free: 58.97 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03581/2.3, allocations: 23.12 MB / 1.133 GB, free: 35.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/2.301, allocations: 491.2 kB / 1.134 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001756/2.303, allocations: 8 kB / 1.134 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/2.307, allocations: 295.1 kB / 1.134 GB, free: 34.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/2.309, allocations: 341.9 kB / 1.134 GB, free: 34.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003988/2.309, allocations: 108 kB / 1.134 GB, free: 34.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003275/2.312, allocations: 2.297 MB / 1.137 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/2.312, allocations: 0 / 1.137 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007048/2.319, allocations: 1.754 MB / 1.138 GB, free: 30.4 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * 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,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.03708/2.356, allocations: 24.99 MB / 1.163 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3031/2.66, allocations: 11.62 MB / 1.174 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.66, allocations: 1.875 kB / 1.174 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01449/2.674, allocations: 6.723 MB / 1.181 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/2.679, allocations: 0.6201 MB / 1.181 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/2.706, allocations: 14.85 MB / 1.196 GB, free: 121.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005002/2.711, allocations: 4.293 MB / 1.2 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004689/2.716, allocations: 1.631 MB / 1.202 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/2.72, allocations: 2.593 MB / 1.204 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.232e-06/2.72, allocations: 0 / 1.204 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/2.93, allocations: 152.4 MB / 1.353 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/2.931, allocations: 160 kB / 1.353 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.571/8.502, allocations: 0 / 1.353 GB, free: 14.81 MB / 0.5417 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