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.001526/0.001525, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.002121/0.002121, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3482/0.3482, allocations: 38.02 MB / 308.4 MB, free: 10.52 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.0005688/0.0005688, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.141, allocations: 57.51 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.271/0.412, allocations: 29.77 MB / 463.7 MB, free: 33.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.4275, allocations: 7.342 MB / 471 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006477/0.434, allocations: 140.1 kB / 471.2 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.4395, allocations: 1.436 MB / 472.6 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01934/0.4589, allocations: 4.045 MB / 476.6 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0054/0.4643, allocations: 0.5096 MB / 477.2 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004118/0.4685, allocations: 0.9819 MB / 478.1 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007916/0.4764, allocations: 4.035 MB / 482.2 MB, free: 29.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.4781, allocations: 0.5683 MB / 482.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.4798, allocations: 0.7364 MB / 483.5 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003874/0.4802, allocations: 100.3 kB / 483.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.4825, allocations: 0.668 MB / 484.2 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.4838, allocations: 0.9145 MB / 485.2 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007175/0.4845, allocations: 0.5201 MB / 485.7 MB, free: 28.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006002/0.4905, allocations: 3.848 MB / 489.5 MB, free: 27.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4906, allocations: 3.938 kB / 489.5 MB, free: 27.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4906, allocations: 0 / 489.5 MB, free: 27.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.4908, allocations: 0 / 489.5 MB, free: 27.88 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.01096/0.5018, allocations: 2.637 MB / 492.2 MB, free: 26.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5019, allocations: 9.312 kB / 492.2 MB, free: 26.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.505, allocations: 361.5 kB / 492.5 MB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006597/0.5116, allocations: 1.304 MB / 493.8 MB, free: 25.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.5119, allocations: 174.1 kB / 494 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.5131, allocations: 238.4 kB / 494.2 MB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03391/0.547, allocations: 7.04 MB / 0.4895 GB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002917/0.5474, allocations: 14.03 kB / 0.4895 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/0.5487, allocations: 104.8 kB / 0.4896 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00371/0.5524, allocations: 0.9961 MB / 0.4906 GB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/0.5806, allocations: 5.83 MB / 0.4963 GB, free: 20.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/0.6238, allocations: 20.33 MB / 0.5162 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.6364, allocations: 1.835 MB / 0.5179 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.6464, allocations: 4.933 MB / 0.5228 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.6465, allocations: 39.12 kB / 0.5228 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 4.588e-06/0.6465, allocations: 0 / 0.5228 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04504/0.6916, allocations: 9.371 MB / 0.532 GB, free: 6.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.6917, allocations: 94.09 kB / 0.532 GB, free: 6.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.6959, allocations: 1.962 MB / 0.534 GB, free: 4.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.6962, allocations: 45.73 kB / 0.534 GB, free: 4.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.698, allocations: 1.676 MB / 0.5356 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006083/0.6986, allocations: 417 kB / 0.536 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.6989, allocations: 59.94 kB / 0.5361 GB, free: 1.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.6992, allocations: 424 kB / 0.5365 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.7012, allocations: 1.033 MB / 0.5375 GB, free: 492 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.7043, allocations: 2.633 MB / 0.5401 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/0.7069, allocations: 1.584 MB / 0.5416 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-05/0.707, allocations: 20 kB / 0.5416 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006439/0.7135, allocations: 3.664 MB / 0.5452 GB, free: 7.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.7136, allocations: 38.42 kB / 0.5453 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.7137, allocations: 56 kB / 0.5453 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-05/0.7138, allocations: 88 kB / 0.5454 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.7163, allocations: 0.7025 MB / 0.5461 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001182/0.7164, allocations: 115.6 kB / 0.5462 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.7185, allocations: 159.8 kB / 0.5463 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.7188, allocations: 168 kB / 0.5465 GB, free: 6.453 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002239/0.7211, allocations: 1.199 MB / 0.5477 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.7215, allocations: 181.7 kB / 0.5478 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.7246, allocations: 1.727 MB / 0.5495 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.7247, allocations: 8 kB / 0.5495 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.7247, allocations: 4 kB / 0.5495 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.7247, allocations: 3.984 kB / 0.5496 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/0.7363, allocations: 5.873 MB / 0.5553 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.7363, allocations: 12 kB / 0.5553 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.7372, allocations: 207.7 kB / 0.5555 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/0.7372, allocations: 24 kB / 0.5555 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.7373, allocations: 35.98 kB / 0.5556 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.7373, allocations: 23.88 kB / 0.5556 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.7373, allocations: 15.94 kB / 0.5556 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.74, allocations: 2.616 MB / 0.5581 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.7406, allocations: 266.7 kB / 0.5584 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.7408, allocations: 32 kB / 0.5584 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.7415, allocations: 43.97 kB / 0.5585 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.7417, allocations: 100.2 kB / 0.5586 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.7417, allocations: 51.94 kB / 0.5586 GB, free: 9.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.7436, allocations: 1.281 MB / 0.5599 GB, free: 7.871 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7437, allocations: 0 / 0.5599 GB, free: 7.871 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002434/0.7461, allocations: 0.5273 MB / 0.5604 GB, free: 7.344 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003488/0.7465, allocations: 180.5 kB / 0.5606 GB, free: 7.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.7502, allocations: 2.242 MB / 0.5627 GB, free: 4.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.7502, allocations: 4 kB / 0.5627 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000881/0.7511, allocations: 0.5952 MB / 0.5633 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.7523, allocations: 236.3 kB / 0.5636 GB, free: 4.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009595/0.7619, allocations: 6.173 MB / 0.5696 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.7644, allocations: 2.238 MB / 0.5718 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002714/0.7672, allocations: 0.7664 MB / 0.5725 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.7676, allocations: 135.4 kB / 0.5726 GB, free: 10.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.315e-06/0.7676, allocations: 0 / 0.5726 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Templates: time 0.03646/0.8041, allocations: 18.63 MB / 0.5908 GB, free: 7.996 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: