Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006489/0.006489, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.493/1.493, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3139/0.3139, allocations: 38.04 MB / 308.8 MB, free: 10.32 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.1. 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.0005924/0.0005925, allocations: 16 kB / 377 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 57.52 MB / 434.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2605/0.3812, allocations: 33.78 MB / 468.4 MB, free: 33.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.3982, allocations: 7.424 MB / 475.8 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007504/0.4058, allocations: 140.5 kB / 475.9 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.4071, allocations: 243.8 kB / 476.2 MB, free: 31.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4099, allocations: 0.6293 MB / 476.8 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.4122, allocations: 0.6545 MB / 477.4 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.4155, allocations: 2.756 MB / 480.2 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005214/0.4207, allocations: 4.789 MB / 485 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.422, allocations: 0.6798 MB / 485.7 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.4232, allocations: 1.09 MB / 486.7 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.4235, allocations: 101.2 kB / 486.8 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.4251, allocations: 0.8768 MB / 487.7 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000905/0.426, allocations: 1.005 MB / 488.7 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.427, allocations: 1.213 MB / 489.9 MB, free: 26.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.4317, allocations: 4.541 MB / 494.5 MB, free: 25.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4318, allocations: 0.6562 kB / 494.5 MB, free: 25.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4318, allocations: 0 / 494.5 MB, free: 25.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.634e-05/0.4319, allocations: 0 / 494.5 MB, free: 25.41 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.005132/0.437, allocations: 2.557 MB / 497 MB, free: 23.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4371, allocations: 9.906 kB / 497.1 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.4384, allocations: 365.3 kB / 497.4 MB, free: 23.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.4408, allocations: 1.317 MB / 498.7 MB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.441, allocations: 181.6 kB / 498.9 MB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.4414, allocations: 236.1 kB / 499.1 MB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.4583, allocations: 6.911 MB / 0.4942 GB, free: 20.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.405e-05/0.4584, allocations: 18.06 kB / 0.4942 GB, free: 20.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002613/0.4587, allocations: 106.8 kB / 0.4943 GB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.4605, allocations: 0.9915 MB / 0.4953 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.4747, allocations: 5.703 MB / 0.5008 GB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.4985, allocations: 20.28 MB / 0.5206 GB, free: 2.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006272/0.5048, allocations: 1.837 MB / 0.5224 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007316/0.5056, allocations: 0.6906 MB / 0.5231 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005902/0.5115, allocations: 4.884 MB / 0.5279 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5116, allocations: 43.12 kB / 0.5279 GB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.555e-06/0.5116, allocations: 3.938 kB / 0.5279 GB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03897/0.5505, allocations: 9.344 MB / 0.5371 GB, free: 1.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.5507, allocations: 97.98 kB / 0.5371 GB, free: 1.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.555, allocations: 1.974 MB / 0.5391 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-05/0.5551, allocations: 45.7 kB / 0.5391 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.5562, allocations: 1.675 MB / 0.5408 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.5565, allocations: 410.5 kB / 0.5411 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.5568, allocations: 255.8 kB / 0.5414 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/0.5569, allocations: 305.1 kB / 0.5417 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.5585, allocations: 1.04 MB / 0.5427 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.5608, allocations: 2.66 MB / 0.5453 GB, free: 8.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.565, allocations: 3.987 MB / 0.5492 GB, free: 3.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.613e-05/0.5651, allocations: 20 kB / 0.5492 GB, free: 3.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005229/0.5703, allocations: 3.684 MB / 0.5528 GB, free: 16 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.5704, allocations: 28.05 kB / 0.5528 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/0.5704, allocations: 56 kB / 0.5529 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.215e-05/0.5705, allocations: 80 kB / 0.553 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/0.5727, allocations: 0.7096 MB / 0.5537 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.96e-05/0.5728, allocations: 115.5 kB / 0.5538 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.5746, allocations: 160.1 kB / 0.5539 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.5748, allocations: 164 kB / 0.5541 GB, free: 14.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (373): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002001/0.5768, allocations: 1.203 MB / 0.5552 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.5771, allocations: 181.7 kB / 0.5554 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.5799, allocations: 1.735 MB / 0.5571 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.58, allocations: 12 kB / 0.5571 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.58, allocations: 3.938 kB / 0.5571 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.58, allocations: 3.984 kB / 0.5571 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008988/0.589, allocations: 5.873 MB / 0.5629 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.589, allocations: 12 kB / 0.5629 GB, free: 5.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/0.5898, allocations: 211.6 kB / 0.5631 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/0.5899, allocations: 16 kB / 0.5631 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.5899, allocations: 40.62 kB / 0.5631 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.84e-05/0.59, allocations: 27.92 kB / 0.5632 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.59, allocations: 15.94 kB / 0.5632 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.592, allocations: 1.7 MB / 0.5648 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.5924, allocations: 270.7 kB / 0.5651 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.5926, allocations: 39.92 kB / 0.5651 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.5933, allocations: 43.97 kB / 0.5652 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.5935, allocations: 100.2 kB / 0.5653 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.5935, allocations: 43.98 kB / 0.5653 GB, free: 2.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001685/0.5952, allocations: 1.296 MB / 0.5666 GB, free: 1.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5952, allocations: 3.938 kB / 0.5666 GB, free: 1.387 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002452/0.5977, allocations: 0.5234 MB / 0.5671 GB, free: 0.8633 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/0.5982, allocations: 198.8 kB / 0.5673 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.6016, allocations: 2.262 MB / 0.5695 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.6017, allocations: 1.875 kB / 0.5695 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.6025, allocations: 0.5992 MB / 0.5701 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/0.6066, allocations: 252.5 kB / 0.5703 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.6176, allocations: 6.474 MB / 0.5766 GB, free: 6.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.62, allocations: 2.192 MB / 0.5788 GB, free: 4.672 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0023/0.6223, allocations: 0.7625 MB / 0.5795 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000497/0.6228, allocations: 139.4 kB / 0.5797 GB, free: 3.77 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6228, allocations: 0 / 0.5797 GB, free: 3.77 MB / 446.1 MB Notification: Performance of Templates: time 0.03353/0.6564, allocations: 19.07 MB / 0.5983 GB, free: 0.7539 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) Environment - environmentSimulation: