Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000886/0.000886, allocations: 82.3 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2352/0.2352, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.722e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5861, allocations: 104 MB / 0.5676 GB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5864, allocations: 77.34 kB / 0.5677 GB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2856/0.872, allocations: 109.3 MB / 0.6744 GB, free: 2.352 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8721, allocations: 4 kB / 0.6744 GB, free: 2.348 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005477/0.8727, allocations: 112 kB / 0.6745 GB, free: 2.238 MB / 474.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.0208/0.8935, allocations: 6.119 MB / 0.6805 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.8936, allocations: 16.02 kB / 0.6805 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03916/0.9327, allocations: 10.14 MB / 0.6904 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/0.9575, allocations: 9.832 MB / 0.7 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.9579, allocations: 222.6 kB / 0.7002 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.9596, allocations: 283.8 kB / 0.7005 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01099/0.9706, allocations: 6.311 MB / 0.7067 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.315/1.286, allocations: 8.877 MB / 0.7153 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/1.286, allocations: 60.06 kB / 0.7154 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/1.287, allocations: 17.88 kB / 0.7154 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001765/1.289, allocations: 0.9973 MB / 0.7164 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05817/1.347, allocations: 43.04 MB / 0.7584 GB, free: 90.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/1.354, allocations: 5.709 MB / 0.764 GB, free: 89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00457/1.358, allocations: 4.841 MB / 0.7687 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.359, allocations: 1.125 MB / 0.7698 GB, free: 86.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.359, allocations: 60.72 kB / 0.7699 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 5.731e-06/1.359, allocations: 0 / 0.7699 GB, free: 85.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415): time 0.1324/1.492, allocations: 59.81 MB / 0.8283 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/1.492, allocations: 201 kB / 0.8285 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005097/1.497, allocations: 3.238 MB / 0.8316 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/1.498, allocations: 29.2 kB / 0.8317 GB, free: 56.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.5, allocations: 3.019 MB / 0.8346 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002429/1.502, allocations: 1.376 MB / 0.836 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000494/1.503, allocations: 0 / 0.836 GB, free: 52.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002634/1.503, allocations: 0.5338 MB / 0.8365 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/1.508, allocations: 4.255 MB / 0.8406 GB, free: 48.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005357/1.513, allocations: 6.263 MB / 0.8468 GB, free: 41.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005732/1.519, allocations: 5.234 MB / 0.8519 GB, free: 37.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-05/1.519, allocations: 20 kB / 0.8519 GB, free: 37.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.03206/1.551, allocations: 17.65 MB / 0.8691 GB, free: 22.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.551, allocations: 32 kB / 0.8692 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.677e-05/1.551, allocations: 64 kB / 0.8692 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02169/1.573, allocations: 8.367 MB / 0.8774 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00422/1.577, allocations: 1.045 MB / 0.8784 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.385/1.962, allocations: 45.32 MB / 0.9227 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/1.968, allocations: 380.1 kB / 0.923 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.97, allocations: 286.4 kB / 0.9233 GB, free: 112.6 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 () * 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.001159/1.971, allocations: 321.4 kB / 0.9236 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03037/2.001, allocations: 16.08 MB / 0.9393 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/2.003, allocations: 466.6 kB / 0.9398 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03378/2.037, allocations: 16.94 MB / 0.9563 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03026/2.067, allocations: 15.58 MB / 0.9715 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/2.067, allocations: 31.02 kB / 0.9716 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/2.068, allocations: 24.14 kB / 0.9716 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05863/2.126, allocations: 33.4 MB / 1.004 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-05/2.126, allocations: 7.75 kB / 1.004 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/2.129, allocations: 450.8 kB / 1.005 GB, free: 93.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02467/2.153, allocations: 7.951 MB / 1.012 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/2.155, allocations: 8 kB / 1.012 GB, free: 88.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05366/2.208, allocations: 44.37 MB / 1.056 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01158/2.22, allocations: 9.125 MB / 1.065 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0364/2.256, allocations: 23.14 MB / 1.087 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004106/2.261, allocations: 1.377 MB / 1.089 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/2.262, allocations: 8 kB / 1.089 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/2.266, allocations: 295.3 kB / 1.089 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.267, allocations: 338.5 kB / 1.089 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003471/2.268, allocations: 99.98 kB / 1.089 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003669/2.271, allocations: 2.349 MB / 1.092 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.271, allocations: 0 / 1.092 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01021/2.282, allocations: 1.75 MB / 1.093 GB, free: 6.84 MB / 0.5105 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.3535/2.635, allocations: 24.99 MB / 1.118 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02904/2.664, allocations: 11.63 MB / 1.129 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/2.664, allocations: 0 / 1.129 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01951/2.684, allocations: 6.727 MB / 1.136 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/2.69, allocations: 0.6254 MB / 1.136 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04452/2.734, allocations: 14.9 MB / 1.151 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01029/2.745, allocations: 4.306 MB / 1.155 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008348/2.753, allocations: 1.635 MB / 1.157 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00533/2.759, allocations: 2.606 MB / 1.159 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/2.759, allocations: 0 / 1.159 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5189/3.278, allocations: 152.8 MB / 1.308 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/3.278, allocations: 153.5 kB / 1.309 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.659/8.937, allocations: 2.531 kB / 1.309 GB, free: 102.2 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat