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.001054/0.001054, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008713, allocations: 84.2 kB / 292.1 MB, free: 6.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1792/0.1792, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/3.002e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.4892, allocations: 107.3 MB / 0.6163 GB, free: 2.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4895, allocations: 74.09 kB / 0.6163 GB, free: 2.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2848/0.7743, allocations: 118.3 MB / 0.7318 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7744, allocations: 0 / 0.7318 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002918/0.7747, allocations: 112 kB / 0.7319 GB, free: 4.422 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.01731/0.792, allocations: 6.189 MB / 0.738 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7921, allocations: 11.97 kB / 0.738 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002641/0.7947, allocations: 0.7582 MB / 0.7387 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03713/0.8319, allocations: 10.13 MB / 0.7486 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.292/1.124, allocations: 8.319 MB / 0.7568 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/1.124, allocations: 369 kB / 0.7571 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/1.126, allocations: 472 kB / 0.7576 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/1.15, allocations: 10.66 MB / 0.768 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/1.15, allocations: 63.61 kB / 0.768 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005264/1.151, allocations: 203.3 kB / 0.7682 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/1.152, allocations: 0.9976 MB / 0.7692 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/1.169, allocations: 8.948 MB / 0.7779 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/1.211, allocations: 43.97 MB / 0.8209 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02007/1.231, allocations: 7.875 MB / 0.8286 GB, free: 90.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004843/1.236, allocations: 4.937 MB / 0.8334 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.237, allocations: 1.119 MB / 0.8345 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/1.237, allocations: 66.72 kB / 0.8345 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 6.443e-06/1.238, allocations: 0 / 0.8345 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=415): time 0.1735/1.411, allocations: 64.8 MB / 0.8978 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01428/1.425, allocations: 10.9 MB / 0.9085 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006933/1.432, allocations: 3.644 MB / 0.912 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001172/1.434, allocations: 93.7 kB / 0.9121 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.436, allocations: 2.996 MB / 0.915 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.438, allocations: 1.436 MB / 0.9164 GB, free: 27.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.439, allocations: 112 kB / 0.9165 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003541/1.439, allocations: 0.5453 MB / 0.9171 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/1.445, allocations: 4.412 MB / 0.9214 GB, free: 22.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/1.451, allocations: 6.465 MB / 0.9277 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006842/1.458, allocations: 5.413 MB / 0.933 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-05/1.458, allocations: 23.94 kB / 0.933 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03815/1.497, allocations: 18.46 MB / 0.951 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/1.497, allocations: 35.75 kB / 0.9511 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.497, allocations: 68 kB / 0.9511 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2923/1.789, allocations: 8.609 MB / 0.9595 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004123/1.793, allocations: 1.034 MB / 0.9606 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0605/1.854, allocations: 48.45 MB / 1.008 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.859, allocations: 493.8 kB / 1.008 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000541/1.86, allocations: 284.7 kB / 1.009 GB, free: 111.2 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,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.861, allocations: 496 kB / 1.009 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007397/1.862, allocations: 486.2 kB / 1.01 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03149/1.893, allocations: 17.5 MB / 1.027 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02862/1.922, allocations: 16.01 MB / 1.042 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-05/1.922, allocations: 25.84 kB / 1.042 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-05/1.922, allocations: 28.28 kB / 1.042 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0528/1.975, allocations: 34.56 MB / 1.076 GB, free: 79.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/1.975, allocations: 6.844 kB / 1.076 GB, free: 79.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.977, allocations: 454.1 kB / 1.077 GB, free: 79.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01999/1.997, allocations: 8.037 MB / 1.084 GB, free: 73.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.998, allocations: 81.11 kB / 1.084 GB, free: 73.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05684/2.055, allocations: 47.51 MB / 1.131 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01194/2.067, allocations: 9.668 MB / 1.14 GB, free: 18.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.042/2.109, allocations: 23.78 MB / 1.164 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/2.111, allocations: 0.5145 MB / 1.164 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/2.113, allocations: 75.53 kB / 1.164 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/2.118, allocations: 355.4 kB / 1.164 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001932/2.12, allocations: 342.2 kB / 1.165 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008533/2.121, allocations: 108 kB / 1.165 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2622/2.383, allocations: 2.694 MB / 1.167 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/2.383, allocations: 0 / 1.167 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007274/2.39, allocations: 1.972 MB / 1.169 GB, free: 130.7 MB / 0.5573 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 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.03976/2.43, allocations: 25.68 MB / 1.194 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.448, allocations: 12.19 MB / 1.206 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/2.448, allocations: 2.531 kB / 1.206 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/2.459, allocations: 7.024 MB / 1.213 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/2.463, allocations: 0.7348 MB / 1.214 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/2.492, allocations: 15.38 MB / 1.229 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/2.498, allocations: 4.293 MB / 1.233 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004946/2.503, allocations: 1.682 MB / 1.235 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/2.507, allocations: 2.593 MB / 1.237 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/2.507, allocations: 3.625 kB / 1.237 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/2.971, allocations: 161.6 MB / 1.395 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/2.971, allocations: 204.1 kB / 1.395 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.96/7.931, allocations: 0 / 1.395 GB, free: 124.9 MB / 0.5573 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