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.001257/0.001257, allocations: 180.4 kB / 14.15 MB, free: 1.172 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.617/1.617, allocations: 221.3 MB / 236 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008407/0.0008406, allocations: 94.44 kB / 287 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2589/0.2589, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.756e-05, allocations: 8.156 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.6488, allocations: 106.4 MB / 0.6057 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.6492, allocations: 83.94 kB / 0.6058 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7218/1.371, allocations: 112.6 MB / 0.7157 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.549e-06/1.371, allocations: 0 / 0.7157 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007503/1.372, allocations: 110.7 kB / 0.7158 GB, free: 111.6 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.03066/1.403, allocations: 6.108 MB / 0.7218 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/1.403, allocations: 9.562 kB / 0.7218 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005068/1.408, allocations: 0.7598 MB / 0.7225 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04504/1.453, allocations: 10.13 MB / 0.7324 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02926/1.482, allocations: 9.199 MB / 0.7414 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/1.483, allocations: 364.2 kB / 0.7418 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003143/1.486, allocations: 475.8 kB / 0.7422 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/1.519, allocations: 10.67 MB / 0.7526 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008297/1.519, allocations: 62.17 kB / 0.7527 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002931/1.522, allocations: 202 kB / 0.7529 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/1.524, allocations: 1.001 MB / 0.7539 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/1.549, allocations: 8.934 MB / 0.7626 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07333/1.623, allocations: 43.99 MB / 0.8055 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/1.646, allocations: 7.876 MB / 0.8132 GB, free: 78.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006058/1.652, allocations: 4.937 MB / 0.8181 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/1.654, allocations: 1.119 MB / 0.8192 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.212e-05/1.654, allocations: 68.17 kB / 0.8192 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 6.652e-06/1.654, allocations: 0 / 0.8192 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.1962/1.85, allocations: 64.8 MB / 0.8825 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01545/1.865, allocations: 10.88 MB / 0.8931 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008387/1.874, allocations: 3.655 MB / 0.8967 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001483/1.875, allocations: 93.7 kB / 0.8968 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/1.879, allocations: 2.998 MB / 0.8997 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00329/1.882, allocations: 1.436 MB / 0.9011 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/1.884, allocations: 116 kB / 0.9012 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005105/1.884, allocations: 0.5297 MB / 0.9017 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007463/1.892, allocations: 4.42 MB / 0.9061 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.39/2.282, allocations: 6.456 MB / 0.9124 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/2.293, allocations: 5.419 MB / 0.9177 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-05/2.293, allocations: 22.03 kB / 0.9177 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.04803/2.341, allocations: 18.46 MB / 0.9357 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/2.341, allocations: 35 kB / 0.9357 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.718e-05/2.341, allocations: 64.66 kB / 0.9358 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/2.364, allocations: 8.606 MB / 0.9442 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/2.37, allocations: 1.038 MB / 0.9452 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06652/2.436, allocations: 48.46 MB / 0.9925 GB, free: 96.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008648/2.445, allocations: 491.8 kB / 0.993 GB, free: 95.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/2.447, allocations: 276.3 kB / 0.9933 GB, free: 95.93 MB / 0.5261 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.001447/2.449, allocations: 499.7 kB / 0.9938 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.45, allocations: 484.6 kB / 0.9942 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03387/2.484, allocations: 17.51 MB / 1.011 GB, free: 88.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02969/2.514, allocations: 16.01 MB / 1.027 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-05/2.514, allocations: 28 kB / 1.027 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001152/2.514, allocations: 21.94 kB / 1.027 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06786/2.582, allocations: 34.57 MB / 1.061 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-05/2.582, allocations: 11.72 kB / 1.061 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002407/2.584, allocations: 451.1 kB / 1.061 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02169/2.606, allocations: 8.036 MB / 1.069 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/2.607, allocations: 75.98 kB / 1.069 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4636/3.071, allocations: 47.51 MB / 1.116 GB, free: 120 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01824/3.089, allocations: 9.673 MB / 1.125 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04791/3.137, allocations: 23.79 MB / 1.148 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/3.14, allocations: 0.5082 MB / 1.149 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002883/3.143, allocations: 76.22 kB / 1.149 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006788/3.15, allocations: 362.4 kB / 1.149 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002832/3.153, allocations: 333.8 kB / 1.149 GB, free: 117 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001213/3.154, allocations: 103.8 kB / 1.15 GB, free: 117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007077/3.161, allocations: 2.702 MB / 1.152 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.283e-06/3.161, allocations: 0 / 1.152 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01233/3.173, allocations: 1.972 MB / 1.154 GB, free: 116.8 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 {(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.04886/3.222, allocations: 25.68 MB / 1.179 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02098/3.243, allocations: 12.17 MB / 1.191 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/3.243, allocations: 7 kB / 1.191 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0141/3.258, allocations: 7.018 MB / 1.198 GB, free: 99.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005564/3.263, allocations: 0.7439 MB / 1.199 GB, free: 99.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03662/3.3, allocations: 15.38 MB / 1.214 GB, free: 90.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005873/3.306, allocations: 4.291 MB / 1.218 GB, free: 87.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00556/3.311, allocations: 1.679 MB / 1.219 GB, free: 86.05 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005295/3.317, allocations: 2.594 MB / 1.222 GB, free: 83.66 MB / 0.5417 GB Notification: Performance of SimCode: time 2.104e-06/3.317, allocations: 0 / 1.222 GB, free: 83.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/3.908, allocations: 161.6 MB / 1.38 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/3.908, allocations: 205.3 kB / 1.38 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.335/10.24, allocations: 4 kB / 1.38 GB, free: 104.9 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