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.002303/0.002303, allocations: 182.4 kB / 13.66 MB, free: 1.664 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.22/2.22, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001172/0.001171, allocations: 90.64 kB / 267.5 MB, free: 14.05 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.3022/0.3022, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.839e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5484/0.6866, allocations: 104.7 MB / 0.5751 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/0.687, allocations: 76.31 kB / 0.5752 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5183/1.205, allocations: 111.4 MB / 0.684 GB, free: 7.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.205, allocations: 8 kB / 0.684 GB, free: 7.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006664/1.206, allocations: 104 kB / 0.6841 GB, free: 7.504 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.03104/1.237, allocations: 6.127 MB / 0.6901 GB, free: 1.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.237, allocations: 12.03 kB / 0.6901 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004352/1.242, allocations: 0.7504 MB / 0.6908 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08044/1.322, allocations: 10.14 MB / 0.7007 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4079/1.73, allocations: 9.842 MB / 0.7103 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006148/1.731, allocations: 368.5 kB / 0.7107 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002809/1.734, allocations: 468.4 kB / 0.7111 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04482/1.778, allocations: 10.67 MB / 0.7216 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006131/1.779, allocations: 59.97 kB / 0.7216 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002408/1.782, allocations: 199.8 kB / 0.7218 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/1.784, allocations: 1.004 MB / 0.7228 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03481/1.819, allocations: 8.935 MB / 0.7315 GB, free: 104.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08994/1.909, allocations: 44.09 MB / 0.7746 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03938/1.949, allocations: 7.886 MB / 0.7823 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008966/1.958, allocations: 4.931 MB / 0.7871 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/1.96, allocations: 1.122 MB / 0.7882 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.372e-05/1.96, allocations: 65.97 kB / 0.7883 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 6.482e-06/1.96, allocations: 3.5 kB / 0.7883 GB, free: 77.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=415): time 0.3492/2.309, allocations: 64.99 MB / 0.8517 GB, free: 36.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02589/2.335, allocations: 10.89 MB / 0.8624 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/2.345, allocations: 3.709 MB / 0.866 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/2.347, allocations: 97.53 kB / 0.8661 GB, free: 21.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002831/2.35, allocations: 2.756 MB / 0.8688 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002733/2.353, allocations: 1.435 MB / 0.8702 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/2.354, allocations: 119.9 kB / 0.8703 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004677/2.355, allocations: 0.5422 MB / 0.8708 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/2.365, allocations: 4.423 MB / 0.8751 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/2.378, allocations: 6.461 MB / 0.8814 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.391, allocations: 5.417 MB / 0.8867 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/2.391, allocations: 20 kB / 0.8867 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.4538/2.845, allocations: 18.19 MB / 0.9045 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/2.845, allocations: 35.38 kB / 0.9045 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/2.845, allocations: 64.38 kB / 0.9046 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04721/2.893, allocations: 8.608 MB / 0.913 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008335/2.901, allocations: 1.035 MB / 0.914 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1236/3.025, allocations: 48.45 MB / 0.9613 GB, free: 97.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/3.035, allocations: 499.1 kB / 0.9618 GB, free: 97.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/3.037, allocations: 284.8 kB / 0.9621 GB, free: 97.29 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,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.003645/3.041, allocations: 0.4923 MB / 0.9626 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/3.043, allocations: 483.7 kB / 0.963 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06611/3.109, allocations: 17.51 MB / 0.9801 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05897/3.168, allocations: 16.01 MB / 0.9958 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.486e-05/3.168, allocations: 26.97 kB / 0.9958 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/3.168, allocations: 20.81 kB / 0.9958 GB, free: 87.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1097/3.278, allocations: 34.6 MB / 1.03 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.859e-05/3.278, allocations: 11.95 kB / 1.03 GB, free: 61.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00456/3.283, allocations: 446.5 kB / 1.03 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04104/3.324, allocations: 8.037 MB / 1.038 GB, free: 54.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/3.325, allocations: 76 kB / 1.038 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1135/3.439, allocations: 47.52 MB / 1.084 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02566/3.465, allocations: 9.661 MB / 1.094 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5245/3.989, allocations: 23.79 MB / 1.117 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008538/3.998, allocations: 1.422 MB / 1.118 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003457/4.001, allocations: 75.88 kB / 1.118 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/4.012, allocations: 363.3 kB / 1.119 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003975/4.016, allocations: 335.5 kB / 1.119 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001866/4.018, allocations: 105.8 kB / 1.119 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01059/4.029, allocations: 2.745 MB / 1.122 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.243e-06/4.029, allocations: 0 / 1.122 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01688/4.046, allocations: 1.976 MB / 1.124 GB, free: 118.1 MB / 0.5261 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.1102/4.156, allocations: 25.68 MB / 1.149 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04814/4.204, allocations: 12.18 MB / 1.161 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/4.204, allocations: 0 / 1.161 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03059/4.235, allocations: 7.028 MB / 1.168 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007418/4.242, allocations: 0.7448 MB / 1.168 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04949/4.292, allocations: 16.02 MB / 1.184 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/4.302, allocations: 4.306 MB / 1.188 GB, free: 99.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007428/4.31, allocations: 2.632 MB / 1.191 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.854e-06/4.31, allocations: 0 / 1.191 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.078/10.39, allocations: 180.6 MB / 1.367 GB, free: 104.2 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)