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.001595/0.001594, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001757, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.546/1.546, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.3877/0.3877, allocations: 39.94 MB / 309.7 MB, free: 9.27 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.001624/0.001624, allocations: 72.48 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01191/0.1485, allocations: 10.28 MB / 444.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.1562, allocations: 3.258 MB / 448 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.1579, allocations: 55.88 kB / 448.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004823/0.1628, allocations: 2.644 MB / 450.7 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1649, allocations: 0.6722 MB / 451.4 MB, free: 2.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1665, allocations: 0.534 MB / 451.9 MB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.169, allocations: 1.601 MB / 453.5 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2917/0.4607, allocations: 3.288 MB / 456.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.4622, allocations: 1.008 MB / 457.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.4637, allocations: 1.318 MB / 459.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.4641, allocations: 278.2 kB / 459.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4655, allocations: 0.7885 MB / 460.2 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009775/0.4665, allocations: 1.223 MB / 461.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.4677, allocations: 1.438 MB / 462.9 MB, free: 35.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.4724, allocations: 4.555 MB / 467.4 MB, free: 34.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.4725, allocations: 0 / 467.4 MB, free: 34.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.4725, allocations: 0 / 467.4 MB, free: 34.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002137/0.4727, allocations: 4 kB / 467.4 MB, free: 34.74 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.006373/0.4791, allocations: 2.944 MB / 470.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.4792, allocations: 13.05 kB / 470.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.4805, allocations: 358.4 kB / 470.7 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4823, allocations: 1.253 MB / 472 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.4824, allocations: 179.5 kB / 472.2 MB, free: 32.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.4828, allocations: 236.2 kB / 472.4 MB, free: 32.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.4966, allocations: 6.027 MB / 478.4 MB, free: 29.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.699e-05/0.4968, allocations: 14.59 kB / 478.4 MB, free: 29.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.497, allocations: 106.4 kB / 478.6 MB, free: 29.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001351/0.4984, allocations: 0.9581 MB / 479.5 MB, free: 29.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.51, allocations: 4.485 MB / 484 MB, free: 28.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02912/0.5391, allocations: 18.54 MB / 0.4908 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.5439, allocations: 1.262 MB / 0.492 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/0.5446, allocations: 400.7 kB / 0.4924 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.5466, allocations: 2.061 MB / 0.4944 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5467, allocations: 38.62 kB / 0.4944 GB, free: 13.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 5.099e-06/0.5467, allocations: 0 / 0.4944 GB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.02664/0.5733, allocations: 5.886 MB / 0.5002 GB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.5735, allocations: 89.36 kB / 0.5003 GB, free: 11.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004293/0.5778, allocations: 1.839 MB / 0.502 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.5779, allocations: 41.83 kB / 0.5021 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.5791, allocations: 1.655 MB / 0.5037 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/0.5795, allocations: 413.6 kB / 0.5041 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009648/0.5805, allocations: 0.5534 MB / 0.5046 GB, free: 8.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5807, allocations: 301.1 kB / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.5821, allocations: 0.7999 MB / 0.5057 GB, free: 8.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.5842, allocations: 2.364 MB / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.5875, allocations: 3.463 MB / 0.5114 GB, free: 2.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/0.5875, allocations: 13.16 kB / 0.5114 GB, free: 2.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004864/0.5924, allocations: 3.162 MB / 0.5145 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.5924, allocations: 28 kB / 0.5145 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/0.5925, allocations: 56.84 kB / 0.5146 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.891e-05/0.5926, allocations: 72 kB / 0.5146 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.5943, allocations: 0.6471 MB / 0.5153 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.943e-05/0.5943, allocations: 112.2 kB / 0.5154 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5962, allocations: 119.8 kB / 0.5155 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.5964, allocations: 167.9 kB / 0.5157 GB, free: 52 kB / 382.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.002251/0.5987, allocations: 1.188 MB / 0.5168 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.5991, allocations: 181.8 kB / 0.517 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.6013, allocations: 1.262 MB / 0.5182 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.6013, allocations: 8 kB / 0.5182 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6013, allocations: 8.031 kB / 0.5182 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.6013, allocations: 3.984 kB / 0.5182 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6121, allocations: 6.462 MB / 0.5246 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/0.6121, allocations: 24.25 kB / 0.5246 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.6128, allocations: 199.7 kB / 0.5248 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-05/0.6129, allocations: 28 kB / 0.5248 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.831e-05/0.613, allocations: 47.98 kB / 0.5248 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.37e-05/0.613, allocations: 39.8 kB / 0.5249 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.891e-05/0.6131, allocations: 35.91 kB / 0.5249 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.6156, allocations: 1.689 MB / 0.5266 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.6162, allocations: 266.8 kB / 0.5268 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.6164, allocations: 47.98 kB / 0.5269 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.6171, allocations: 39.94 kB / 0.5269 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.6173, allocations: 147.3 kB / 0.527 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.6174, allocations: 48 kB / 0.5271 GB, free: 3.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.6193, allocations: 1.232 MB / 0.5283 GB, free: 2.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6193, allocations: 3.938 kB / 0.5283 GB, free: 2.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003154/0.6225, allocations: 500 kB / 0.5288 GB, free: 2.016 MB / 398.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.0005285/0.623, allocations: 220.6 kB / 0.529 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003602/0.6267, allocations: 1.914 MB / 0.5309 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.6267, allocations: 4 kB / 0.5309 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000734/0.6274, allocations: 491.8 kB / 0.5313 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6292, allocations: 272.1 kB / 0.5316 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.64, allocations: 5.309 MB / 0.5368 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/0.643, allocations: 2.198 MB / 0.5389 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002541/0.6455, allocations: 0.7112 MB / 0.5396 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.6459, allocations: 131.4 kB / 0.5397 GB, free: 6.457 MB / 414.1 MB Notification: Performance of SimCode: time 3.567e-06/0.6459, allocations: 0 / 0.5397 GB, free: 6.457 MB / 414.1 MB Notification: Performance of Templates: time 0.03864/0.6846, allocations: 16.55 MB / 0.5559 GB, free: 5.992 MB / 430.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)