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.00106/0.00106, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008128/0.008129, allocations: 169.3 kB / 16.26 MB, free: 6.648 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.617/1.617, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.3538/0.3538, allocations: 40 MB / 310.7 MB, free: 9.559 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.0006149/0.0006149, allocations: 16 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 57.96 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.3114/0.4588, allocations: 33.73 MB / 471.1 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02544/0.4843, allocations: 7.268 MB / 478.4 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01145/0.4958, allocations: 133.6 kB / 478.5 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4972, allocations: 249.8 kB / 478.8 MB, free: 29.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.5002, allocations: 0.6298 MB / 479.4 MB, free: 29.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.502, allocations: 497 kB / 479.9 MB, free: 28.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.5055, allocations: 2.681 MB / 482.6 MB, free: 27.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006358/0.5119, allocations: 4.757 MB / 487.3 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.5134, allocations: 0.6499 MB / 488 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.5153, allocations: 1.067 MB / 489.1 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005507/0.5158, allocations: 97.69 kB / 489.1 MB, free: 25.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.5176, allocations: 0.6674 MB / 489.8 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.519, allocations: 1.011 MB / 490.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.5209, allocations: 1.196 MB / 492 MB, free: 23.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.5262, allocations: 4.334 MB / 496.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5262, allocations: 3.094 kB / 496.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5263, allocations: 0 / 496.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002538/0.5265, allocations: 0 / 496.4 MB, free: 22.79 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.006191/0.5327, allocations: 2.413 MB / 498.8 MB, free: 21.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5328, allocations: 9.312 kB / 498.8 MB, free: 21.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.535, allocations: 361.2 kB / 499.1 MB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.5385, allocations: 1.262 MB / 0.4887 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003682/0.5389, allocations: 177.4 kB / 0.4888 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/0.5399, allocations: 232.2 kB / 0.4891 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.5606, allocations: 6.05 MB / 0.495 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002586/0.5609, allocations: 13.41 kB / 0.495 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/0.5621, allocations: 102.1 kB / 0.4951 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00242/0.5645, allocations: 0.968 MB / 0.496 GB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.5799, allocations: 4.512 MB / 0.5004 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/0.6079, allocations: 18.55 MB / 0.5186 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.6122, allocations: 1.269 MB / 0.5198 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.613, allocations: 400.7 kB / 0.5202 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.615, allocations: 2.057 MB / 0.5222 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.6151, allocations: 42 kB / 0.5222 GB, free: 14.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.667e-06/0.6151, allocations: 2.531 kB / 0.5222 GB, free: 14.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02414/0.6393, allocations: 5.975 MB / 0.5281 GB, free: 9.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.6394, allocations: 94.09 kB / 0.5281 GB, free: 9.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.643, allocations: 1.832 MB / 0.5299 GB, free: 7.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6432, allocations: 45.7 kB / 0.53 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.6446, allocations: 1.656 MB / 0.5316 GB, free: 5.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.6451, allocations: 414.6 kB / 0.532 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004652/0.6456, allocations: 251.5 kB / 0.5322 GB, free: 5.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6457, allocations: 301.1 kB / 0.5325 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.6472, allocations: 0.8019 MB / 0.5333 GB, free: 4.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.6498, allocations: 2.362 MB / 0.5356 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/0.6542, allocations: 3.463 MB / 0.539 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.742e-05/0.6543, allocations: 16 kB / 0.539 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005515/0.6598, allocations: 3.164 MB / 0.5421 GB, free: 9.508 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.6599, allocations: 28 kB / 0.5421 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-05/0.66, allocations: 52 kB / 0.5422 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.637e-05/0.6601, allocations: 76 kB / 0.5422 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.6622, allocations: 0.6434 MB / 0.5429 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001014/0.6623, allocations: 111.6 kB / 0.543 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.6641, allocations: 120.2 kB / 0.5431 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.6644, allocations: 160 kB / 0.5432 GB, free: 8.328 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.002382/0.6668, allocations: 1.203 MB / 0.5444 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.6672, allocations: 173.8 kB / 0.5446 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.6697, allocations: 1.27 MB / 0.5458 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6698, allocations: 8 kB / 0.5458 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.6698, allocations: 4 kB / 0.5458 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.6698, allocations: 7.969 kB / 0.5458 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/0.6815, allocations: 6.459 MB / 0.5522 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/0.6816, allocations: 20 kB / 0.5522 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/0.6823, allocations: 203.7 kB / 0.5524 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.414e-05/0.6824, allocations: 24.78 kB / 0.5524 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/0.6825, allocations: 44 kB / 0.5524 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.524e-05/0.6826, allocations: 47.73 kB / 0.5525 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.724e-05/0.6826, allocations: 35.81 kB / 0.5525 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.685, allocations: 1.676 MB / 0.5542 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/0.6859, allocations: 270.8 kB / 0.5544 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/0.6864, allocations: 55.91 kB / 0.5545 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.6874, allocations: 39.94 kB / 0.5545 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.6876, allocations: 131.4 kB / 0.5546 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-05/0.6877, allocations: 55.98 kB / 0.5547 GB, free: 11.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002713/0.6904, allocations: 1.232 MB / 0.5559 GB, free: 10.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6904, allocations: 0 / 0.5559 GB, free: 10.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003218/0.6936, allocations: 0.4922 MB / 0.5564 GB, free: 10.18 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.0005241/0.6942, allocations: 222.5 kB / 0.5566 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.6978, allocations: 1.832 MB / 0.5584 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.6978, allocations: 4 kB / 0.5584 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008045/0.6986, allocations: 491.9 kB / 0.5588 GB, free: 7.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006631/0.7053, allocations: 283.2 kB / 0.5591 GB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.7171, allocations: 6.56 MB / 0.5655 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/0.7204, allocations: 2.198 MB / 0.5677 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002472/0.7229, allocations: 0.7151 MB / 0.5684 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.7234, allocations: 131.4 kB / 0.5685 GB, free: 13.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7234, allocations: 0 / 0.5685 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Templates: time 0.03785/0.7613, allocations: 15.79 MB / 0.5839 GB, free: 13.68 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: