Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001226/0.001226, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.472/1.472, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3726/0.3726, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001505/0.001506, allocations: 71.09 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1686, allocations: 56.47 MB / 431.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.3177/0.4864, allocations: 34.74 MB / 465.9 MB, free: 35.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.5045, allocations: 7.263 MB / 473.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01014/0.5148, allocations: 138.9 kB / 473.3 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.5192, allocations: 2.58 MB / 475.9 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.5212, allocations: 0.6056 MB / 476.5 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.5227, allocations: 490.2 kB / 477 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.5244, allocations: 1.616 MB / 478.6 MB, free: 30.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.5273, allocations: 3.454 MB / 482.1 MB, free: 28.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.5285, allocations: 1.026 MB / 483.1 MB, free: 28.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.53, allocations: 1.425 MB / 484.5 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.5304, allocations: 277.8 kB / 484.8 MB, free: 27.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.5317, allocations: 0.8054 MB / 485.6 MB, free: 27.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009188/0.5326, allocations: 1.231 MB / 486.8 MB, free: 27.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.5338, allocations: 1.445 MB / 488.3 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.5383, allocations: 4.584 MB / 492.9 MB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.5383, allocations: 0 / 492.9 MB, free: 24.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.29e-06/0.5383, allocations: 3.938 kB / 492.9 MB, free: 24.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001061/0.5384, allocations: 0 / 492.9 MB, free: 24.4 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.005381/0.5438, allocations: 2.938 MB / 495.8 MB, free: 22.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5439, allocations: 13.61 kB / 495.8 MB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.5451, allocations: 357.8 kB / 496.2 MB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.5473, allocations: 1.261 MB / 497.4 MB, free: 21.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.5475, allocations: 177.5 kB / 497.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004049/0.5479, allocations: 231.7 kB / 497.8 MB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.5607, allocations: 6.024 MB / 0.492 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.415e-05/0.5608, allocations: 21.34 kB / 0.4921 GB, free: 18.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.561, allocations: 101.6 kB / 0.4922 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.5628, allocations: 0.9673 MB / 0.4931 GB, free: 18.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.5752, allocations: 4.48 MB / 0.4975 GB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.6025, allocations: 18.54 MB / 0.5156 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.6069, allocations: 1.268 MB / 0.5168 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.6076, allocations: 390.5 kB / 0.5172 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.6091, allocations: 2.066 MB / 0.5192 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.6091, allocations: 41.53 kB / 0.5193 GB, free: 1.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.427e-06/0.6091, allocations: 0 / 0.5193 GB, free: 1.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02223/0.6314, allocations: 5.884 MB / 0.525 GB, free: 12.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.6315, allocations: 90.11 kB / 0.5251 GB, free: 11.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.6346, allocations: 1.832 MB / 0.5269 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.43e-05/0.6347, allocations: 49.7 kB / 0.5269 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.6363, allocations: 1.656 MB / 0.5285 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.6368, allocations: 410.5 kB / 0.5289 GB, free: 7.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.6378, allocations: 0.5522 MB / 0.5295 GB, free: 7.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.6381, allocations: 301.1 kB / 0.5298 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.6394, allocations: 0.8019 MB / 0.5305 GB, free: 6.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.6417, allocations: 2.362 MB / 0.5329 GB, free: 3.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.6456, allocations: 3.463 MB / 0.5362 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.6456, allocations: 16 kB / 0.5362 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004644/0.6502, allocations: 3.164 MB / 0.5393 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.6503, allocations: 28 kB / 0.5394 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.603e-05/0.6504, allocations: 59.94 kB / 0.5394 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.866e-05/0.6504, allocations: 72 kB / 0.5395 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.6523, allocations: 0.644 MB / 0.5401 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-05/0.6524, allocations: 115.6 kB / 0.5402 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.6548, allocations: 119.8 kB / 0.5403 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.6551, allocations: 160 kB / 0.5405 GB, free: 10.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.003264/0.6584, allocations: 1.199 MB / 0.5417 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/0.6589, allocations: 173.8 kB / 0.5418 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.662, allocations: 1.266 MB / 0.5431 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.6621, allocations: 8 kB / 0.5431 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6621, allocations: 4 kB / 0.5431 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.6621, allocations: 8.016 kB / 0.5431 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.6759, allocations: 6.459 MB / 0.5494 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.6759, allocations: 20 kB / 0.5494 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.6769, allocations: 207.8 kB / 0.5496 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.32e-05/0.677, allocations: 31.94 kB / 0.5496 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.6771, allocations: 40 kB / 0.5497 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.42e-05/0.6771, allocations: 43.73 kB / 0.5497 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.123e-05/0.6772, allocations: 31.88 kB / 0.5498 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.68, allocations: 1.68 MB / 0.5514 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.6807, allocations: 266.8 kB / 0.5516 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.681, allocations: 55.84 kB / 0.5517 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.6821, allocations: 36 kB / 0.5517 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.6823, allocations: 139.4 kB / 0.5519 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6824, allocations: 52 kB / 0.5519 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002671/0.6851, allocations: 1.232 MB / 0.5531 GB, free: 12.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6851, allocations: 0 / 0.5531 GB, free: 12.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005459/0.6906, allocations: 496 kB / 0.5536 GB, free: 12.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.000759/0.6914, allocations: 222.6 kB / 0.5538 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005436/0.6969, allocations: 1.911 MB / 0.5557 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.06e-05/0.6969, allocations: 8.188 kB / 0.5557 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.698, allocations: 496.2 kB / 0.5562 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.7009, allocations: 270.9 kB / 0.5564 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.7159, allocations: 6.535 MB / 0.5628 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.7181, allocations: 2.19 MB / 0.5649 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002117/0.7203, allocations: 0.7112 MB / 0.5656 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.7206, allocations: 131.4 kB / 0.5658 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.7206, allocations: 4 kB / 0.5658 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Templates: time 0.03925/0.7599, allocations: 16.53 MB / 0.5819 GB, free: 15.13 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)