Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00843/0.00843, allocations: 101.1 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 194.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3605/0.3605, allocations: 39.94 MB / 309.8 MB, free: 9.438 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.91 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3712, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01617/0.3875, allocations: 13.92 MB / 0.4947 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.4005, allocations: 4.205 MB / 0.4988 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.4046, allocations: 68.94 kB / 0.4989 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004431/0.4091, allocations: 1.833 MB / 0.5007 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.4153, allocations: 1.871 MB / 0.5025 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.4168, allocations: 0.5516 MB / 0.503 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005807/0.4227, allocations: 3.968 MB / 0.5069 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.4259, allocations: 2.725 MB / 0.5096 GB, free: 256 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.4283, allocations: 1.421 MB / 0.511 GB, free: 15.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.4319, allocations: 1.976 MB / 0.5129 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009897/0.433, allocations: 300.3 kB / 0.5132 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.4355, allocations: 0.9907 MB / 0.5141 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.4375, allocations: 1.81 MB / 0.5159 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.4398, allocations: 2.17 MB / 0.518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009152/0.449, allocations: 7.067 MB / 0.5249 GB, free: 3.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.4491, allocations: 7.938 kB / 0.5249 GB, free: 3.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4491, allocations: 0 / 0.5249 GB, free: 3.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003077/0.4494, allocations: 0 / 0.5249 GB, free: 3.348 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01274/0.4621, allocations: 4.63 MB / 0.5295 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.4622, allocations: 15.89 kB / 0.5295 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4741, allocations: 3.114 MB / 0.5325 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006412/0.4805, allocations: 2.221 MB / 0.5347 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.4808, allocations: 225.9 kB / 0.5349 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4819, allocations: 303.6 kB / 0.5352 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/0.501, allocations: 11.32 MB / 0.5462 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.5012, allocations: 31.7 kB / 0.5463 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.5016, allocations: 135.8 kB / 0.5464 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004552/0.5062, allocations: 2.714 MB / 0.5491 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.5284, allocations: 10.47 MB / 0.5593 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/0.592, allocations: 37.27 MB / 0.5957 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.6024, allocations: 4.575 MB / 0.6001 GB, free: 4.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/0.6062, allocations: 2.404 MB / 0.6025 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.6077, allocations: 1.323 MB / 0.6038 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.103e-05/0.6078, allocations: 56.56 kB / 0.6038 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.933e-06/0.6078, allocations: 0 / 0.6038 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.0434/0.6512, allocations: 17.64 MB / 0.6211 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.6513, allocations: 73.41 kB / 0.6211 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.6558, allocations: 2.788 MB / 0.6239 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.6561, allocations: 65.61 kB / 0.6239 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002319/0.6584, allocations: 2.853 MB / 0.6267 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.6595, allocations: 0.9134 MB / 0.6276 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/0.6613, allocations: 1.092 MB / 0.6287 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6615, allocations: 305.1 kB / 0.629 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.6651, allocations: 2.33 MB / 0.6312 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2759/0.941, allocations: 5.314 MB / 0.6364 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.9526, allocations: 8.385 MB / 0.6446 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/0.9528, allocations: 30.53 kB / 0.6446 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02124/0.974, allocations: 8.381 MB / 0.6528 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.9742, allocations: 50.3 kB / 0.6529 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/0.9744, allocations: 103.3 kB / 0.653 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.9774, allocations: 0.9431 MB / 0.6539 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/0.9821, allocations: 1.25 MB / 0.6551 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006505/0.9886, allocations: 5.138 MB / 0.6601 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/0.9926, allocations: 301.4 kB / 0.6604 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009125/0.9936, allocations: 313 kB / 0.6607 GB, free: 109.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (669): * Single equations (assignments): 662 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004931/0.9985, allocations: 2.188 MB / 0.6628 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007352/0.9993, allocations: 285.4 kB / 0.6631 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008992/1.008, allocations: 5.138 MB / 0.6681 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.204e-05/1.008, allocations: 51.67 kB / 0.6682 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/1.008, allocations: 1.531 kB / 0.6682 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/1.008, allocations: 12.45 kB / 0.6682 GB, free: 107 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02014/1.029, allocations: 11.94 MB / 0.6799 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.029, allocations: 7.375 kB / 0.6799 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.03, allocations: 398.7 kB / 0.6803 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/1.032, allocations: 0.7779 MB / 0.681 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.033, allocations: 47.28 kB / 0.6811 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/1.037, allocations: 4.391 MB / 0.6853 GB, free: 97.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.037, allocations: 19.88 kB / 0.6854 GB, free: 97.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008725/1.046, allocations: 7.625 MB / 0.6928 GB, free: 90.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.048, allocations: 0.677 MB / 0.6935 GB, free: 89.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/1.048, allocations: 51.98 kB / 0.6935 GB, free: 89.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.049, allocations: 147.7 kB / 0.6937 GB, free: 89.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/1.05, allocations: 154.5 kB / 0.6938 GB, free: 89.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.05, allocations: 75.34 kB / 0.6939 GB, free: 88.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002008/1.052, allocations: 1.729 MB / 0.6956 GB, free: 87.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.052, allocations: 0 / 0.6956 GB, free: 87.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004058/1.056, allocations: 0.9987 MB / 0.6965 GB, free: 86.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004132/1.056, allocations: 184.8 kB / 0.6967 GB, free: 86.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00674/1.063, allocations: 5.727 MB / 0.7023 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.063, allocations: 4 kB / 0.7023 GB, free: 80.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.065, allocations: 2.149 MB / 0.7044 GB, free: 78.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.068, allocations: 387.2 kB / 0.7048 GB, free: 77.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.084, allocations: 10.3 MB / 0.7148 GB, free: 67.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/1.087, allocations: 3.432 MB / 0.7182 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003847/1.09, allocations: 2.006 MB / 0.7202 GB, free: 61.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/1.091, allocations: 215.4 kB / 0.7204 GB, free: 61.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.091, allocations: 0 / 0.7204 GB, free: 61.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.05668/1.148, allocations: 31.5 MB / 0.7511 GB, free: 30.29 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)