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.001482/0.001482, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 94.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3068/0.3068, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.178e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.6307, allocations: 104 MB / 0.5676 GB, free: 11.16 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.631, allocations: 79.47 kB / 0.5677 GB, free: 11.08 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8264/1.457, allocations: 109.3 MB / 0.6744 GB, free: 104.4 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.873e-06/1.457, allocations: 0 / 0.6744 GB, free: 104.4 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005511/1.458, allocations: 111.6 kB / 0.6745 GB, free: 104.4 MB / 475.1 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.02854/1.487, allocations: 6.129 MB / 0.6805 GB, free: 102.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/1.487, allocations: 11.47 kB / 0.6805 GB, free: 102.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07185/1.559, allocations: 10.14 MB / 0.6904 GB, free: 101.8 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03495/1.594, allocations: 9.833 MB / 0.7 GB, free: 98.59 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/1.594, allocations: 216.4 kB / 0.7002 GB, free: 98.55 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/1.597, allocations: 285.4 kB / 0.7005 GB, free: 98.54 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01605/1.613, allocations: 6.303 MB / 0.7066 GB, free: 96.3 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/1.636, allocations: 8.892 MB / 0.7153 GB, free: 90.92 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003299/1.636, allocations: 59.55 kB / 0.7154 GB, free: 90.88 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001039/1.637, allocations: 20 kB / 0.7154 GB, free: 90.86 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00212/1.64, allocations: 0.9995 MB / 0.7164 GB, free: 89.94 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07933/1.719, allocations: 43.04 MB / 0.7584 GB, free: 46.07 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.73, allocations: 5.702 MB / 0.764 GB, free: 40.38 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007951/1.738, allocations: 4.85 MB / 0.7687 GB, free: 35.53 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/1.74, allocations: 1.12 MB / 0.7698 GB, free: 34.27 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.74, allocations: 64.81 kB / 0.7699 GB, free: 34.19 MB / 475.1 MB Notification: Performance of pre-optimization done (n=286): time 6.091e-06/1.74, allocations: 0 / 0.7699 GB, free: 34.19 MB / 475.1 MB Notification: Performance of matching and sorting (n=415): time 0.2628/2.002, allocations: 59.8 MB / 0.8283 GB, free: 6.363 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/2.003, allocations: 201.5 kB / 0.8285 GB, free: 6.129 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009694/2.012, allocations: 3.242 MB / 0.8316 GB, free: 2.875 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/2.014, allocations: 29.64 kB / 0.8316 GB, free: 2.84 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.003503/2.017, allocations: 2.791 MB / 0.8344 GB, free: 20 kB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.3663/2.383, allocations: 1.378 MB / 0.8357 GB, free: 123 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000846/2.384, allocations: 0 / 0.8357 GB, free: 123 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0003876/2.385, allocations: 0.538 MB / 0.8362 GB, free: 122.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00984/2.395, allocations: 4.251 MB / 0.8404 GB, free: 122.7 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/2.407, allocations: 6.271 MB / 0.8465 GB, free: 120.3 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/2.421, allocations: 5.223 MB / 0.8516 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/2.421, allocations: 22.38 kB / 0.8516 GB, free: 120.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0659/2.487, allocations: 17.41 MB / 0.8686 GB, free: 117 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 7.813e-05/2.487, allocations: 37.44 kB / 0.8687 GB, free: 117 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-05/2.487, allocations: 64.88 kB / 0.8687 GB, free: 117 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04177/2.529, allocations: 8.364 MB / 0.8769 GB, free: 115.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007793/2.537, allocations: 1.039 MB / 0.8779 GB, free: 115.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1006/2.638, allocations: 45.33 MB / 0.9222 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009843/2.648, allocations: 378.6 kB / 0.9226 GB, free: 92.12 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/2.649, allocations: 285.1 kB / 0.9228 GB, free: 91.87 MB / 0.4952 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.001804/2.651, allocations: 322.5 kB / 0.9231 GB, free: 91.61 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0558/2.707, allocations: 16.08 MB / 0.9388 GB, free: 79.19 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.709, allocations: 462.1 kB / 0.9393 GB, free: 78.73 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05897/2.768, allocations: 16.96 MB / 0.9558 GB, free: 64.21 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05367/2.822, allocations: 15.57 MB / 0.9711 GB, free: 48.67 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/2.822, allocations: 31.98 kB / 0.9711 GB, free: 48.64 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001308/2.822, allocations: 23.86 kB / 0.9711 GB, free: 48.61 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09804/2.92, allocations: 33.4 MB / 1.004 GB, free: 14.87 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/2.92, allocations: 7.984 kB / 1.004 GB, free: 14.86 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/2.925, allocations: 451.3 kB / 1.004 GB, free: 14.42 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0405/2.965, allocations: 7.947 MB / 1.012 GB, free: 6.453 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001488/2.967, allocations: 11.98 kB / 1.012 GB, free: 6.441 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4728/3.44, allocations: 44.37 MB / 1.055 GB, free: 123.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02215/3.462, allocations: 9.127 MB / 1.064 GB, free: 119.3 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06716/3.529, allocations: 23.14 MB / 1.087 GB, free: 110.8 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005707/3.535, allocations: 1.371 MB / 1.088 GB, free: 110.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001996/3.537, allocations: 18.98 kB / 1.088 GB, free: 110.3 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007206/3.544, allocations: 287.9 kB / 1.088 GB, free: 110.3 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00244/3.547, allocations: 340.6 kB / 1.089 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008802/3.548, allocations: 105.2 kB / 1.089 GB, free: 110.2 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.005687/3.554, allocations: 2.345 MB / 1.091 GB, free: 109.3 MB / 0.5108 GB Notification: Performance of sort global known variables: time 9.72e-07/3.554, allocations: 0 / 1.091 GB, free: 109.3 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01058/3.564, allocations: 1.754 MB / 1.093 GB, free: 109.3 MB / 0.5108 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.06788/3.632, allocations: 24.98 MB / 1.117 GB, free: 94.19 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.02945/3.662, allocations: 11.64 MB / 1.129 GB, free: 83.95 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/3.662, allocations: 0 / 1.129 GB, free: 83.95 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.02066/3.682, allocations: 6.725 MB / 1.135 GB, free: 78.12 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006925/3.689, allocations: 0.626 MB / 1.136 GB, free: 77.63 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04668/3.736, allocations: 15.51 MB / 1.151 GB, free: 64.23 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/3.746, allocations: 4.31 MB / 1.155 GB, free: 61.06 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007317/3.754, allocations: 2.619 MB / 1.158 GB, free: 58.64 MB / 0.5108 GB Notification: Performance of SimCode: time 1.312e-06/3.754, allocations: 0 / 1.158 GB, free: 58.64 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.647/9.401, allocations: 177.5 MB / 1.331 GB, free: 55.52 MB / 0.5108 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)