Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002235/0.002235, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 95.38 kB / 270.9 MB, free: 8.363 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.5776/0.5776, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000735/0.0007351, allocations: 15.98 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1679, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5084/0.6763, allocations: 104.8 MB / 0.5811 GB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.6767, allocations: 75.95 kB / 0.5812 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8378/1.515, allocations: 111.4 MB / 0.69 GB, free: 84.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.096e-06/1.515, allocations: 0 / 0.69 GB, free: 84.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005688/1.515, allocations: 111.7 kB / 0.6901 GB, free: 84.82 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.03248/1.548, allocations: 6.96 MB / 0.6969 GB, free: 82.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.548, allocations: 12.56 kB / 0.6969 GB, free: 82.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004244/1.552, allocations: 0.7573 MB / 0.6976 GB, free: 82.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08066/1.633, allocations: 10.12 MB / 0.7075 GB, free: 81.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04196/1.675, allocations: 9.908 MB / 0.7172 GB, free: 81.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005941/1.675, allocations: 366.2 kB / 0.7175 GB, free: 80.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002924/1.678, allocations: 475 kB / 0.718 GB, free: 80.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.719, allocations: 10.76 MB / 0.7285 GB, free: 79.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004658/1.72, allocations: 61.25 kB / 0.7285 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/1.722, allocations: 202.1 kB / 0.7287 GB, free: 79.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/1.725, allocations: 0.9986 MB / 0.7297 GB, free: 79.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03289/1.758, allocations: 9.063 MB / 0.7386 GB, free: 76.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08363/1.841, allocations: 44.08 MB / 0.7816 GB, free: 49.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03922/1.88, allocations: 7.922 MB / 0.7894 GB, free: 47.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/1.883, allocations: 1.121 MB / 0.7904 GB, free: 46.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.295e-05/1.883, allocations: 70.16 kB / 0.7905 GB, free: 46.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 5.67e-06/1.883, allocations: 2.281 kB / 0.7905 GB, free: 46.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.7855/2.668, allocations: 76.47 MB / 0.8652 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02876/2.697, allocations: 11.36 MB / 0.8763 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/2.708, allocations: 3.743 MB / 0.8799 GB, free: 89.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001439/2.709, allocations: 91.48 kB / 0.88 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003065/2.712, allocations: 2.766 MB / 0.8827 GB, free: 89.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002829/2.715, allocations: 1.437 MB / 0.8841 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/2.717, allocations: 108.9 kB / 0.8842 GB, free: 88.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005251/2.717, allocations: 0.5396 MB / 0.8848 GB, free: 88.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/2.729, allocations: 4.483 MB / 0.8891 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/2.743, allocations: 6.53 MB / 0.8955 GB, free: 85.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/2.758, allocations: 5.449 MB / 0.9008 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/2.758, allocations: 19.72 kB / 0.9009 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.07128/2.83, allocations: 18.34 MB / 0.9188 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/2.83, allocations: 31.62 kB / 0.9188 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/2.83, allocations: 67.66 kB / 0.9189 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04316/2.873, allocations: 8.627 MB / 0.9273 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007877/2.881, allocations: 1.036 MB / 0.9283 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1191/3, allocations: 50.55 MB / 0.9777 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/3.01, allocations: 491 kB / 0.9781 GB, free: 54.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/3.012, allocations: 283.9 kB / 0.9784 GB, free: 54.07 MB / 0.4948 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.007512/3.019, allocations: 2.291 MB / 0.9806 GB, free: 52.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/3.021, allocations: 489.8 kB / 0.9811 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06433/3.086, allocations: 17.6 MB / 0.9983 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05745/3.143, allocations: 16.11 MB / 1.014 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-05/3.143, allocations: 28 kB / 1.014 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-05/3.143, allocations: 23.45 kB / 1.014 GB, free: 23.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4947/3.638, allocations: 34.76 MB / 1.048 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.516e-05/3.638, allocations: 5.25 kB / 1.048 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004697/3.643, allocations: 445.9 kB / 1.048 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04363/3.687, allocations: 8.055 MB / 1.056 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001356/3.688, allocations: 80.55 kB / 1.056 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.152/3.84, allocations: 49.78 MB / 1.105 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03426/3.874, allocations: 10.13 MB / 1.115 GB, free: 80.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07199/3.947, allocations: 23.95 MB / 1.138 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005494/3.952, allocations: 1.417 MB / 1.14 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002327/3.954, allocations: 82.48 kB / 1.14 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007255/3.962, allocations: 359 kB / 1.14 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002571/3.964, allocations: 335 kB / 1.14 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009042/3.965, allocations: 101.2 kB / 1.141 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007634/3.973, allocations: 2.792 MB / 1.143 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/3.973, allocations: 0 / 1.143 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01121/3.984, allocations: 1.973 MB / 1.145 GB, free: 69.71 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 () * 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.0747/4.059, allocations: 25.83 MB / 1.17 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03364/4.093, allocations: 12.36 MB / 1.182 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/4.093, allocations: 4 kB / 1.182 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02204/4.115, allocations: 7.121 MB / 1.189 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007379/4.122, allocations: 0.7509 MB / 1.19 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5709/4.693, allocations: 109.8 MB / 1.297 GB, free: 85.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/4.706, allocations: 4.305 MB / 1.302 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007723/4.714, allocations: 2.632 MB / 1.304 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/4.714, allocations: 0.9688 kB / 1.304 GB, free: 85.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.603/10.32, allocations: 180 MB / 1.48 GB, free: 106.9 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.pipe 2>&1)