Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00117/0.00117, allocations: 99.36 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.00133/0.00133, allocations: 195.7 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.519/1.519, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3301/0.3301, allocations: 39.93 MB / 309.4 MB, free: 8.98 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.002562/0.002562, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1375, allocations: 56.89 MB / 434 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2571/0.3946, allocations: 34.73 MB / 468.7 MB, free: 33.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.4134, allocations: 7.261 MB / 476 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008698/0.4221, allocations: 144.1 kB / 476.1 MB, free: 29.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.4264, allocations: 2.573 MB / 478.7 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.4287, allocations: 0.6129 MB / 479.3 MB, free: 28.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.4303, allocations: 483 kB / 479.8 MB, free: 28.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.4328, allocations: 1.629 MB / 481.4 MB, free: 27.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003257/0.436, allocations: 3.439 MB / 484.9 MB, free: 26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.4376, allocations: 1.024 MB / 485.9 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.4391, allocations: 1.427 MB / 487.3 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.4395, allocations: 277.7 kB / 487.6 MB, free: 24.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4409, allocations: 0.8106 MB / 488.4 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008888/0.4418, allocations: 1.236 MB / 489.6 MB, free: 24.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.4428, allocations: 1.444 MB / 491.1 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.4474, allocations: 4.576 MB / 495.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.4474, allocations: 1.875 kB / 495.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4474, allocations: 0 / 495.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001519/0.4476, allocations: 0 / 495.6 MB, free: 21.59 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.006567/0.4541, allocations: 2.943 MB / 498.6 MB, free: 19.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.4542, allocations: 20.8 kB / 498.6 MB, free: 19.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.456, allocations: 362.2 kB / 499 MB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.4586, allocations: 1.256 MB / 0.4885 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.4588, allocations: 177.6 kB / 0.4887 GB, free: 18.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.4592, allocations: 236.1 kB / 0.4889 GB, free: 18.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.4732, allocations: 6.026 MB / 0.4948 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.464e-05/0.4733, allocations: 13.19 kB / 0.4948 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.4736, allocations: 107.1 kB / 0.4949 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.4754, allocations: 0.9612 MB / 0.4958 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.4877, allocations: 4.483 MB / 0.5002 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02913/0.5169, allocations: 18.54 MB / 0.5183 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/0.5211, allocations: 1.278 MB / 0.5196 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/0.5219, allocations: 390.7 kB / 0.5199 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.5237, allocations: 2.059 MB / 0.5219 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5238, allocations: 43.06 kB / 0.522 GB, free: 13.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.5238, allocations: 4 kB / 0.522 GB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02402/0.5478, allocations: 5.878 MB / 0.5277 GB, free: 7.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.5479, allocations: 90.11 kB / 0.5278 GB, free: 7.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/0.5518, allocations: 1.832 MB / 0.5296 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.552, allocations: 45.7 kB / 0.5296 GB, free: 5.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001723/0.5538, allocations: 1.656 MB / 0.5313 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/0.5543, allocations: 410.5 kB / 0.5317 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009862/0.5553, allocations: 0.5522 MB / 0.5322 GB, free: 2.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5555, allocations: 305.1 kB / 0.5325 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.557, allocations: 0.802 MB / 0.5333 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.5595, allocations: 2.366 MB / 0.5356 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.5637, allocations: 3.459 MB / 0.539 GB, free: 10.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.156e-05/0.5637, allocations: 16 kB / 0.539 GB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.006053/0.5698, allocations: 3.161 MB / 0.5421 GB, free: 7.273 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/0.5699, allocations: 28 kB / 0.5421 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.57, allocations: 56.05 kB / 0.5421 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.5701, allocations: 75.98 kB / 0.5422 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/0.5729, allocations: 0.6511 MB / 0.5428 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001716/0.5731, allocations: 111.5 kB / 0.5429 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5763, allocations: 120 kB / 0.5431 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.5767, allocations: 160 kB / 0.5432 GB, free: 6.082 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.003208/0.5799, allocations: 1.195 MB / 0.5444 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006277/0.5806, allocations: 173.7 kB / 0.5445 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.584, allocations: 1.27 MB / 0.5458 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5841, allocations: 15.94 kB / 0.5458 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.5841, allocations: 0 / 0.5458 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.5841, allocations: 3.984 kB / 0.5458 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.5996, allocations: 6.462 MB / 0.5521 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-05/0.5997, allocations: 20 kB / 0.5521 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6008, allocations: 203.7 kB / 0.5523 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-05/0.6009, allocations: 31.94 kB / 0.5524 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.601, allocations: 40 kB / 0.5524 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.6011, allocations: 48.36 kB / 0.5524 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.599e-05/0.6011, allocations: 31.88 kB / 0.5525 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.6043, allocations: 1.684 MB / 0.5541 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.6053, allocations: 262.8 kB / 0.5544 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006841/0.606, allocations: 55.91 kB / 0.5544 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/0.6076, allocations: 35.98 kB / 0.5545 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.6079, allocations: 135.4 kB / 0.5546 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.6081, allocations: 52 kB / 0.5546 GB, free: 9.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004021/0.6121, allocations: 1.232 MB / 0.5558 GB, free: 8.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6121, allocations: 0 / 0.5558 GB, free: 8.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005473/0.6176, allocations: 0.4961 MB / 0.5563 GB, free: 7.934 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.0009383/0.6186, allocations: 218.6 kB / 0.5565 GB, free: 7.711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.6238, allocations: 1.907 MB / 0.5584 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/0.6238, allocations: 4 kB / 0.5584 GB, free: 5.812 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.6248, allocations: 499.8 kB / 0.5589 GB, free: 5.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/0.628, allocations: 264.6 kB / 0.5591 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.6417, allocations: 6.537 MB / 0.5655 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004555/0.6463, allocations: 2.194 MB / 0.5677 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002589/0.6489, allocations: 0.719 MB / 0.5684 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.6494, allocations: 135.4 kB / 0.5685 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6495, allocations: 0 / 0.5685 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Templates: time 0.03584/0.6853, allocations: 16.52 MB / 0.5846 GB, free: 10.67 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)