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.001781/0.001781, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002443/0.002443, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.665/1.665, allocations: 205.1 MB / 222 MB, free: 4.77 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.3819/0.3819, allocations: 39.93 MB / 309.3 MB, free: 9.379 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.001442/0.001442, allocations: 64.52 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 56.89 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.2803/0.4092, allocations: 38.31 MB / 472.1 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4266, allocations: 8.28 MB / 480.4 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009878/0.4365, allocations: 156.3 kB / 480.6 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004177/0.4408, allocations: 1.792 MB / 482.3 MB, free: 26.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.4459, allocations: 1.745 MB / 484.1 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.4476, allocations: 0.5161 MB / 484.6 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005649/0.4533, allocations: 5.547 MB / 490.2 MB, free: 23.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003294/0.4566, allocations: 2.647 MB / 492.8 MB, free: 22.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.4584, allocations: 1.226 MB / 494 MB, free: 22.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.4616, allocations: 2.076 MB / 496.1 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000932/0.4626, allocations: 206.6 kB / 496.3 MB, free: 21.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.4652, allocations: 0.9768 MB / 497.3 MB, free: 21.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.4677, allocations: 1.741 MB / 499 MB, free: 20.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00393/0.4717, allocations: 2.091 MB / 0.4894 GB, free: 19.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.4837, allocations: 6.687 MB / 0.4959 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4838, allocations: 5.156 kB / 0.4959 GB, free: 16.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4838, allocations: 0 / 0.4959 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003247/0.4841, allocations: 0 / 0.4959 GB, free: 16.64 MB / 382.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.01441/0.4985, allocations: 4.64 MB / 0.5004 GB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.4986, allocations: 9.812 kB / 0.5004 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/0.5095, allocations: 3.119 MB / 0.5035 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/0.5164, allocations: 2.194 MB / 0.5056 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.5168, allocations: 229.1 kB / 0.5058 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00256/0.5194, allocations: 298.3 kB / 0.5061 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02281/0.5422, allocations: 11.32 MB / 0.5172 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.5424, allocations: 31.72 kB / 0.5172 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007174/0.5431, allocations: 135.8 kB / 0.5173 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00417/0.5473, allocations: 2.714 MB / 0.52 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02388/0.5712, allocations: 10.48 MB / 0.5302 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06686/0.6381, allocations: 37.5 MB / 0.5669 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00942/0.6476, allocations: 4.571 MB / 0.5713 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.6513, allocations: 2.405 MB / 0.5737 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.6529, allocations: 1.315 MB / 0.5749 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/0.653, allocations: 60.48 kB / 0.575 GB, free: 6.445 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 7.333e-06/0.653, allocations: 0 / 0.575 GB, free: 6.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04368/0.6967, allocations: 17.63 MB / 0.5922 GB, free: 4.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.6968, allocations: 73.41 kB / 0.5923 GB, free: 4.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.7016, allocations: 2.8 MB / 0.595 GB, free: 1.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000706/0.7023, allocations: 57.7 kB / 0.5951 GB, free: 1.785 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002346/0.7047, allocations: 2.849 MB / 0.5979 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001403/0.7061, allocations: 0.925 MB / 0.5988 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.7079, allocations: 1.084 MB / 0.5998 GB, free: 12.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.708, allocations: 301.1 kB / 0.6001 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/0.7117, allocations: 2.334 MB / 0.6024 GB, free: 10.22 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/0.7178, allocations: 5.307 MB / 0.6076 GB, free: 3.461 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.7287, allocations: 8.388 MB / 0.6158 GB, free: 9.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000118/0.7289, allocations: 32 kB / 0.6158 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01714/0.746, allocations: 8.391 MB / 0.624 GB, free: 1.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.7462, allocations: 48 kB / 0.624 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.7464, allocations: 104 kB / 0.6241 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/0.7494, allocations: 0.9456 MB / 0.6251 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2558/1.005, allocations: 1.251 MB / 0.6263 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/1.012, allocations: 4.779 MB / 0.631 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/1.017, allocations: 300.8 kB / 0.6312 GB, free: 144.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/1.018, allocations: 310.6 kB / 0.6315 GB, free: 144.9 MB / 494.1 MB 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.006958/1.025, allocations: 2.195 MB / 0.6337 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.026, allocations: 278.1 kB / 0.6339 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/1.037, allocations: 5.137 MB / 0.639 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.088e-05/1.037, allocations: 45.36 kB / 0.639 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/1.037, allocations: 2.906 kB / 0.639 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/1.037, allocations: 10.5 kB / 0.639 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/1.061, allocations: 11.98 MB / 0.6507 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/1.061, allocations: 10.5 kB / 0.6507 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.063, allocations: 398.8 kB / 0.6511 GB, free: 138.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002418/1.065, allocations: 0.7736 MB / 0.6519 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003543/1.066, allocations: 49.73 kB / 0.6519 GB, free: 138.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/1.072, allocations: 4.089 MB / 0.6559 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-05/1.072, allocations: 15.09 kB / 0.6559 GB, free: 136.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.086, allocations: 7.633 MB / 0.6634 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.089, allocations: 0.6837 MB / 0.664 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009086/1.09, allocations: 49.38 kB / 0.6641 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.092, allocations: 154.3 kB / 0.6642 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/1.092, allocations: 153.5 kB / 0.6644 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/1.092, allocations: 72.52 kB / 0.6644 GB, free: 133.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006337/1.099, allocations: 1.727 MB / 0.6661 GB, free: 132.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.099, allocations: 0 / 0.6661 GB, free: 132.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008538/1.107, allocations: 1.007 MB / 0.6671 GB, free: 132.3 MB / 494.1 MB 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.00149/1.109, allocations: 187.9 kB / 0.6673 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009306/1.118, allocations: 5.679 MB / 0.6728 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.118, allocations: 3.828 kB / 0.6728 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003025/1.121, allocations: 2.148 MB / 0.6749 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.125, allocations: 371.6 kB / 0.6753 GB, free: 129.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.145, allocations: 12.66 MB / 0.6877 GB, free: 118.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004988/1.15, allocations: 3.434 MB / 0.691 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004395/1.154, allocations: 2.001 MB / 0.693 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/1.155, allocations: 221 kB / 0.6932 GB, free: 114.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.02e-07/1.155, allocations: 0 / 0.6932 GB, free: 114.5 MB / 494.1 MB Notification: Performance of Templates: time 0.05205/1.207, allocations: 32.84 MB / 0.7252 GB, free: 82.13 MB / 494.1 MB 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)