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.001285/0.001285, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001238/0.001238, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.596/1.596, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3271/0.3271, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.00146/0.00146, allocations: 75.06 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2114/0.3381, allocations: 34.78 MB / 466 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.3518, allocations: 7.419 MB / 473.4 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005323/0.3572, allocations: 140.7 kB / 473.5 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.3611, allocations: 2.538 MB / 476.1 MB, free: 31.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.3629, allocations: 0.6094 MB / 476.7 MB, free: 31.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3647, allocations: 0.6666 MB / 477.4 MB, free: 30.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002056/0.3668, allocations: 1.703 MB / 479.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003415/0.3702, allocations: 3.516 MB / 482.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.372, allocations: 1.061 MB / 483.6 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.3736, allocations: 1.461 MB / 485.1 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.374, allocations: 289.7 kB / 485.4 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3758, allocations: 0.9973 MB / 486.4 MB, free: 27.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000897/0.3767, allocations: 1.242 MB / 487.6 MB, free: 26.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.3778, allocations: 1.462 MB / 489.1 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.3819, allocations: 4.8 MB / 493.9 MB, free: 23.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3819, allocations: 0 / 493.9 MB, free: 23.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.382, allocations: 2.906 kB / 493.9 MB, free: 23.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001256/0.3821, allocations: 0 / 493.9 MB, free: 23.99 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.00706/0.3892, allocations: 3.083 MB / 497 MB, free: 22.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3892, allocations: 13.05 kB / 497 MB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.3908, allocations: 357.8 kB / 497.3 MB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.3932, allocations: 1.328 MB / 498.7 MB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.3934, allocations: 176.4 kB / 498.8 MB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.3937, allocations: 232 kB / 499.1 MB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.4075, allocations: 6.894 MB / 0.4941 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.4076, allocations: 14.03 kB / 0.4941 GB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.4078, allocations: 102.1 kB / 0.4942 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001561/0.4094, allocations: 0.9911 MB / 0.4952 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.4219, allocations: 5.677 MB / 0.5007 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02327/0.4452, allocations: 20.27 MB / 0.5205 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00658/0.4518, allocations: 1.811 MB / 0.5223 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.4531, allocations: 0.6906 MB / 0.523 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007838/0.461, allocations: 4.88 MB / 0.5277 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.4611, allocations: 43.12 kB / 0.5278 GB, free: 9.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/0.4611, allocations: 0 / 0.5278 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03935/0.5005, allocations: 9.25 MB / 0.5368 GB, free: 15.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.5006, allocations: 90.05 kB / 0.5369 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.5029, allocations: 1.974 MB / 0.5388 GB, free: 13.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.503, allocations: 45.69 kB / 0.5389 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.504, allocations: 1.675 MB / 0.5405 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.5044, allocations: 414.5 kB / 0.5409 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007336/0.5051, allocations: 0.5797 MB / 0.5414 GB, free: 11.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5052, allocations: 301.1 kB / 0.5417 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.5068, allocations: 1.044 MB / 0.5428 GB, free: 9.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.5094, allocations: 2.656 MB / 0.5453 GB, free: 6.246 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/0.514, allocations: 3.987 MB / 0.5492 GB, free: 1.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/0.514, allocations: 20 kB / 0.5493 GB, free: 1.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006022/0.5201, allocations: 3.688 MB / 0.5529 GB, free: 13.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.5201, allocations: 28 kB / 0.5529 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-05/0.5202, allocations: 56 kB / 0.5529 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.252e-05/0.5203, allocations: 76 kB / 0.553 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.5225, allocations: 0.7096 MB / 0.5537 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.484e-05/0.5226, allocations: 119.5 kB / 0.5538 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.5246, allocations: 160.1 kB / 0.554 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.5249, allocations: 167.9 kB / 0.5541 GB, free: 12.44 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.001931/0.5268, allocations: 1.199 MB / 0.5553 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.5272, allocations: 173.8 kB / 0.5555 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.53, allocations: 1.735 MB / 0.5572 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.53, allocations: 12 kB / 0.5572 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.53, allocations: 3.938 kB / 0.5572 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.53, allocations: 7.969 kB / 0.5572 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009294/0.5393, allocations: 5.877 MB / 0.5629 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.5394, allocations: 8 kB / 0.5629 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.5402, allocations: 212.5 kB / 0.5631 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.5403, allocations: 16 kB / 0.5632 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.5403, allocations: 43.88 kB / 0.5632 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-05/0.5404, allocations: 23.92 kB / 0.5632 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/0.5404, allocations: 23.94 kB / 0.5632 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.5425, allocations: 1.689 MB / 0.5649 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.5431, allocations: 258.7 kB / 0.5651 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.5433, allocations: 43.92 kB / 0.5652 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.544, allocations: 39.97 kB / 0.5652 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.5442, allocations: 104.2 kB / 0.5653 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-05/0.5443, allocations: 44 kB / 0.5654 GB, free: 464 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001719/0.546, allocations: 1.292 MB / 0.5666 GB, free: 15.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.546, allocations: 0 / 0.5666 GB, free: 15.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00235/0.5483, allocations: 0.5312 MB / 0.5671 GB, free: 14.6 MB / 446.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.0004601/0.5488, allocations: 202.7 kB / 0.5673 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.5529, allocations: 2.497 MB / 0.5698 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.553, allocations: 4 kB / 0.5698 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008563/0.5538, allocations: 0.5991 MB / 0.5704 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5553, allocations: 265.3 kB / 0.5706 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008494/0.5638, allocations: 6.441 MB / 0.5769 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.566, allocations: 2.176 MB / 0.579 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002302/0.5684, allocations: 0.7625 MB / 0.5798 GB, free: 1.449 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.5688, allocations: 139.4 kB / 0.5799 GB, free: 1.312 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5689, allocations: 0 / 0.5799 GB, free: 1.312 MB / 446.1 MB Notification: Performance of Templates: time 0.0421/0.611, allocations: 20.06 MB / 0.5995 GB, free: 13.31 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile (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)