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.00162/0.001621, allocations: 188.1 kB / 16.4 MB, free: 5.625 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.2/2.2, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001131/0.001131, allocations: 98.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3016/0.3016, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.000519, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.5046/0.6313, allocations: 71.36 MB / 0.5485 GB, free: 8.148 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04839/0.6798, allocations: 16.49 MB / 0.5646 GB, free: 12.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02309/0.703, allocations: 377.5 kB / 0.565 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01862/0.7217, allocations: 3.577 MB / 0.5685 GB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05421/0.7759, allocations: 10.37 MB / 0.5786 GB, free: 1.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007531/0.7835, allocations: 1.127 MB / 0.5797 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1427/0.9263, allocations: 51.41 MB / 0.6299 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.9421, allocations: 7.027 MB / 0.6368 GB, free: 6.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.9473, allocations: 1.737 MB / 0.6385 GB, free: 4.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.9524, allocations: 2.045 MB / 0.6405 GB, free: 2.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.9538, allocations: 184 kB / 0.6406 GB, free: 2.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003538/0.9574, allocations: 0.8194 MB / 0.6414 GB, free: 1.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004395/0.9618, allocations: 2.315 MB / 0.6437 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.9643, allocations: 1.08 MB / 0.6448 GB, free: 14.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.9775, allocations: 7.396 MB / 0.652 GB, free: 6.605 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9775, allocations: 0 / 0.652 GB, free: 6.605 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.9776, allocations: 4 kB / 0.652 GB, free: 6.602 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003448/0.9779, allocations: 0 / 0.652 GB, free: 6.602 MB / 458.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.02869/1.007, allocations: 6.764 MB / 0.6586 GB, free: 15.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.007, allocations: 8.031 kB / 0.6586 GB, free: 15.75 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003019/1.01, allocations: 0.7386 MB / 0.6593 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1526/1.162, allocations: 12.14 MB / 0.6712 GB, free: 2.836 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/1.184, allocations: 6.333 MB / 0.6774 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/1.185, allocations: 313.4 kB / 0.6777 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/1.187, allocations: 423.5 kB / 0.6781 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03967/1.227, allocations: 11.02 MB / 0.6888 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003813/1.227, allocations: 59.41 kB / 0.6889 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001587/1.229, allocations: 179.9 kB / 0.6891 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006312/1.235, allocations: 1.729 MB / 0.6907 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03731/1.272, allocations: 9.317 MB / 0.6998 GB, free: 4.816 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4378/1.71, allocations: 44.77 MB / 0.7436 GB, free: 164.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04032/1.751, allocations: 7.961 MB / 0.7513 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03035/1.781, allocations: 12.86 MB / 0.7639 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/1.781, allocations: 59.27 kB / 0.764 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=283): time 7.425e-06/1.781, allocations: 0 / 0.764 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=406): time 0.4777/2.259, allocations: 77.16 MB / 0.8393 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0265/2.285, allocations: 11.38 MB / 0.8504 GB, free: 72.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009093/2.295, allocations: 4.856 MB / 0.8552 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/2.296, allocations: 89.7 kB / 0.8552 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002289/2.298, allocations: 2.726 MB / 0.8579 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/2.301, allocations: 1.403 MB / 0.8593 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008277/2.302, allocations: 112.8 kB / 0.8594 GB, free: 63.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003328/2.302, allocations: 0.5423 MB / 0.8599 GB, free: 62.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.312, allocations: 4.626 MB / 0.8644 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/2.324, allocations: 6.641 MB / 0.8709 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/2.337, allocations: 5.594 MB / 0.8764 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.824e-05/2.337, allocations: 20 kB / 0.8764 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.06185/2.399, allocations: 18.73 MB / 0.8947 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/2.399, allocations: 38.66 kB / 0.8947 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.31e-05/2.399, allocations: 64 kB / 0.8948 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04228/2.441, allocations: 8.797 MB / 0.9034 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007187/2.448, allocations: 1.021 MB / 0.9044 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5/2.948, allocations: 52.22 MB / 0.9554 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/2.96, allocations: 494.8 kB / 0.9558 GB, free: 158.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/2.963, allocations: 283.7 kB / 0.9561 GB, free: 158.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (515): * Single equations (assignments): 506 * Array equations: 6 * 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,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.01005/2.973, allocations: 2.281 MB / 0.9583 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002947/2.976, allocations: 487.4 kB / 0.9588 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07199/3.048, allocations: 17.95 MB / 0.9763 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06084/3.109, allocations: 16.45 MB / 0.9924 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-05/3.109, allocations: 24 kB / 0.9924 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.336e-05/3.109, allocations: 23.92 kB / 0.9924 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1047/3.214, allocations: 35.34 MB / 1.027 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-05/3.214, allocations: 7.953 kB / 1.027 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00444/3.218, allocations: 459.2 kB / 1.027 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04347/3.262, allocations: 8.791 MB / 1.036 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001311/3.263, allocations: 76.86 kB / 1.036 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1156/3.379, allocations: 50.79 MB / 1.086 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02386/3.403, allocations: 10.17 MB / 1.096 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.459/3.862, allocations: 24.51 MB / 1.12 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005985/3.868, allocations: 1.462 MB / 1.121 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/3.87, allocations: 72.03 kB / 1.121 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007772/3.878, allocations: 387.1 kB / 1.121 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002942/3.881, allocations: 324.3 kB / 1.122 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/3.882, allocations: 100.9 kB / 1.122 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008709/3.891, allocations: 3.244 MB / 1.125 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.024e-06/3.891, allocations: 2.438 kB / 1.125 GB, free: 160.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01152/3.903, allocations: 2.023 MB / 1.127 GB, free: 160.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07933/3.982, allocations: 25.93 MB / 1.152 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0338/4.016, allocations: 12.6 MB / 1.165 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/4.016, allocations: 7 kB / 1.165 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02207/4.038, allocations: 7.189 MB / 1.172 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007317/4.045, allocations: 0.7459 MB / 1.172 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06406/4.11, allocations: 69 MB / 1.24 GB, free: 64.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008272/4.118, allocations: 4.285 MB / 1.244 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006489/4.124, allocations: 2.667 MB / 1.247 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/4.124, allocations: 0.875 kB / 1.247 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.962/10.09, allocations: 178.5 MB / 1.421 GB, free: 62.91 MB / 0.5105 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)