Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 94.58 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4076/0.4076, allocations: 44.21 MB / 387.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 12 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3918, allocations: 61.91 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5387, allocations: 106.5 MB / 0.6136 GB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.539, allocations: 83.94 kB / 0.6137 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5959/1.135, allocations: 112.5 MB / 0.7236 GB, free: 92.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.449e-06/1.135, allocations: 4 kB / 0.7236 GB, free: 92.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008836/1.136, allocations: 111 kB / 0.7237 GB, free: 92.9 MB / 490.7 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.03024/1.166, allocations: 6.906 MB / 0.7304 GB, free: 89.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.873e-05/1.166, allocations: 11.25 kB / 0.7304 GB, free: 89.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00608/1.172, allocations: 0.7556 MB / 0.7312 GB, free: 89.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03719/1.21, allocations: 10.12 MB / 0.7411 GB, free: 87.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02595/1.236, allocations: 9.254 MB / 0.7501 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/1.236, allocations: 372.2 kB / 0.7505 GB, free: 84.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/1.238, allocations: 477.2 kB / 0.7509 GB, free: 84.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/1.264, allocations: 10.75 MB / 0.7614 GB, free: 79.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000435/1.265, allocations: 53.77 kB / 0.7615 GB, free: 79.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/1.266, allocations: 207 kB / 0.7617 GB, free: 79.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/1.267, allocations: 0.9977 MB / 0.7626 GB, free: 79.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/1.289, allocations: 9.062 MB / 0.7715 GB, free: 72.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/1.349, allocations: 43.98 MB / 0.8144 GB, free: 27.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/1.369, allocations: 7.918 MB / 0.8222 GB, free: 19.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/1.371, allocations: 1.13 MB / 0.8233 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.371, allocations: 72.83 kB / 0.8233 GB, free: 18.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 6.011e-06/1.371, allocations: 0 / 0.8233 GB, free: 18.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.5799/1.95, allocations: 76.27 MB / 0.8978 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01789/1.968, allocations: 11.35 MB / 0.9089 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007097/1.976, allocations: 3.689 MB / 0.9125 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.977, allocations: 89.17 kB / 0.9126 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002018/1.979, allocations: 2.996 MB / 0.9155 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.981, allocations: 1.43 MB / 0.9169 GB, free: 99.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/1.981, allocations: 119 kB / 0.917 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002612/1.982, allocations: 0.5318 MB / 0.9176 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005257/1.987, allocations: 4.48 MB / 0.9219 GB, free: 96.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006234/1.993, allocations: 6.529 MB / 0.9283 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/2, allocations: 5.455 MB / 0.9336 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/2, allocations: 23.38 kB / 0.9337 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03649/2.036, allocations: 18.59 MB / 0.9518 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/2.036, allocations: 35.84 kB / 0.9518 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-05/2.036, allocations: 65.97 kB / 0.9519 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02286/2.059, allocations: 8.627 MB / 0.9603 GB, free: 83.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/2.064, allocations: 1.035 MB / 0.9613 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/2.125, allocations: 50.53 MB / 1.011 GB, free: 44.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/2.132, allocations: 499.2 kB / 1.011 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/2.133, allocations: 275.9 kB / 1.011 GB, free: 44.03 MB / 0.5105 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 () * Number of clocked 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.006432/2.14, allocations: 2.279 MB / 1.014 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/2.141, allocations: 481.9 kB / 1.014 GB, free: 41.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03237/2.174, allocations: 17.61 MB / 1.031 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02998/2.204, allocations: 16.1 MB / 1.047 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.851e-05/2.204, allocations: 35.94 kB / 1.047 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/2.204, allocations: 19.92 kB / 1.047 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4366/2.641, allocations: 34.73 MB / 1.081 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-05/2.641, allocations: 6.719 kB / 1.081 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/2.643, allocations: 451.4 kB / 1.081 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02304/2.666, allocations: 8.058 MB / 1.089 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001165/2.667, allocations: 76.88 kB / 1.089 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06559/2.733, allocations: 49.78 MB / 1.138 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01299/2.746, allocations: 10.14 MB / 1.148 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03848/2.785, allocations: 23.94 MB / 1.171 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003112/2.788, allocations: 0.5132 MB / 1.172 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003117/2.791, allocations: 72 kB / 1.172 GB, free: 84.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005705/2.797, allocations: 358.5 kB / 1.172 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002388/2.799, allocations: 337.3 kB / 1.173 GB, free: 83.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/2.8, allocations: 111.5 kB / 1.173 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004938/2.805, allocations: 2.739 MB / 1.175 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/2.805, allocations: 0 / 1.175 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008905/2.814, allocations: 1.976 MB / 1.177 GB, free: 79.46 MB / 0.5261 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 () * Number of clocked 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.03825/2.852, allocations: 25.82 MB / 1.202 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.871, allocations: 12.35 MB / 1.214 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/2.871, allocations: 4 kB / 1.215 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/2.883, allocations: 7.122 MB / 1.221 GB, free: 39.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/2.889, allocations: 0.7467 MB / 1.222 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4394/3.328, allocations: 108.9 MB / 1.329 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006509/3.335, allocations: 4.289 MB / 1.333 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004592/3.34, allocations: 1.684 MB / 1.334 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003527/3.343, allocations: 2.601 MB / 1.337 GB, free: 99.89 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/3.343, allocations: 0 / 1.337 GB, free: 99.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4914/3.835, allocations: 161.8 MB / 1.495 GB, free: 115.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/3.835, allocations: 222 kB / 1.495 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.297/10.13, allocations: 0 / 1.495 GB, free: 115.2 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat