Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR") translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00201/0.00201, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.7/1.7, allocations: 205.1 MB / 222 MB, free: 4.75 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.3655/0.3655, allocations: 39.93 MB / 309.3 MB, free: 9.633 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.001791/0.001791, allocations: 64.28 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1429, allocations: 56.88 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2812/0.4242, allocations: 34.79 MB / 468.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.4418, allocations: 7.481 MB / 476.1 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009969/0.4518, allocations: 137.9 kB / 476.2 MB, free: 30.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.4565, allocations: 2.643 MB / 478.8 MB, free: 29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.4587, allocations: 0.6204 MB / 479.5 MB, free: 28.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.4604, allocations: 0.6483 MB / 480.1 MB, free: 28.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.4632, allocations: 2.754 MB / 482.9 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.4663, allocations: 3.303 MB / 486.2 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.4677, allocations: 0.9265 MB / 487.1 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.4694, allocations: 1.409 MB / 488.5 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003649/0.4698, allocations: 201.3 kB / 488.7 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.4714, allocations: 0.9753 MB / 489.7 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.4723, allocations: 1.156 MB / 490.8 MB, free: 24.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.4734, allocations: 1.376 MB / 492.2 MB, free: 23.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.4792, allocations: 4.719 MB / 496.9 MB, free: 22.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4792, allocations: 4 kB / 496.9 MB, free: 22.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4792, allocations: 0 / 496.9 MB, free: 22.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.4794, allocations: 0 / 496.9 MB, free: 22.02 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.01104/0.4905, allocations: 3.079 MB / 0.4883 GB, free: 20.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.4906, allocations: 10.28 kB / 0.4883 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.4924, allocations: 363.8 kB / 0.4887 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.4953, allocations: 1.318 MB / 0.4899 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.4954, allocations: 176 kB / 0.4901 GB, free: 19.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/0.4959, allocations: 240.8 kB / 0.4903 GB, free: 19.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.5156, allocations: 6.89 MB / 0.4971 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.043e-05/0.5158, allocations: 14.03 kB / 0.4971 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.5161, allocations: 101.5 kB / 0.4972 GB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00224/0.5183, allocations: 0.9905 MB / 0.4981 GB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/0.535, allocations: 5.678 MB / 0.5037 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0306/0.5656, allocations: 20.28 MB / 0.5235 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006936/0.5726, allocations: 1.81 MB / 0.5253 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.5736, allocations: 0.6945 MB / 0.5259 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006861/0.5805, allocations: 4.88 MB / 0.5307 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.5806, allocations: 47.05 kB / 0.5307 GB, free: 4.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.5806, allocations: 3.938 kB / 0.5307 GB, free: 4.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04193/0.6225, allocations: 9.246 MB / 0.5398 GB, free: 11.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.6226, allocations: 94.05 kB / 0.5399 GB, free: 11.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.6254, allocations: 1.97 MB / 0.5418 GB, free: 9.453 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.6255, allocations: 49.64 kB / 0.5418 GB, free: 9.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6267, allocations: 1.671 MB / 0.5435 GB, free: 7.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.6271, allocations: 410.5 kB / 0.5439 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008007/0.6279, allocations: 0.5759 MB / 0.5444 GB, free: 6.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6281, allocations: 305.1 kB / 0.5447 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.6296, allocations: 1.04 MB / 0.5457 GB, free: 5.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.6325, allocations: 2.66 MB / 0.5483 GB, free: 1.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.6378, allocations: 3.983 MB / 0.5522 GB, free: 13.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.19e-05/0.6378, allocations: 16 kB / 0.5522 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006061/0.6439, allocations: 3.684 MB / 0.5558 GB, free: 9.418 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.6439, allocations: 32 kB / 0.5559 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.903e-05/0.644, allocations: 56 kB / 0.5559 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.51e-05/0.6441, allocations: 80.03 kB / 0.556 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/0.6466, allocations: 0.7135 MB / 0.5567 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.274e-05/0.6467, allocations: 119.5 kB / 0.5568 GB, free: 8.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.6487, allocations: 159.8 kB / 0.557 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.649, allocations: 160 kB / 0.5571 GB, free: 8.109 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00229/0.6513, allocations: 1.211 MB / 0.5583 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.6516, allocations: 177.7 kB / 0.5585 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/0.655, allocations: 1.731 MB / 0.5602 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.655, allocations: 12 kB / 0.5602 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.6551, allocations: 7.938 kB / 0.5602 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.6551, allocations: 3.984 kB / 0.5602 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.6672, allocations: 5.866 MB / 0.5659 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.6673, allocations: 12 kB / 0.5659 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.6682, allocations: 207.6 kB / 0.5661 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.6682, allocations: 19.98 kB / 0.5661 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.6683, allocations: 39.94 kB / 0.5662 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-05/0.6683, allocations: 23.92 kB / 0.5662 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-05/0.6683, allocations: 27.86 kB / 0.5662 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.6708, allocations: 1.689 MB / 0.5679 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/0.6715, allocations: 262.8 kB / 0.5681 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.6717, allocations: 35.94 kB / 0.5682 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.6725, allocations: 47.97 kB / 0.5682 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.6726, allocations: 96.22 kB / 0.5683 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.27e-05/0.6727, allocations: 48 kB / 0.5683 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002234/0.675, allocations: 1.296 MB / 0.5696 GB, free: 10.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.675, allocations: 0 / 0.5696 GB, free: 10.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003042/0.678, allocations: 0.5273 MB / 0.5701 GB, free: 10.27 MB / 446.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 (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.000522/0.6786, allocations: 206.6 kB / 0.5703 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.6826, allocations: 2.259 MB / 0.5725 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.6826, allocations: 0 / 0.5725 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008651/0.6835, allocations: 0.5992 MB / 0.5731 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.6852, allocations: 243 kB / 0.5733 GB, free: 6.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.6966, allocations: 6.443 MB / 0.5796 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/0.6992, allocations: 2.188 MB / 0.5818 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002519/0.7017, allocations: 0.7703 MB / 0.5825 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.7022, allocations: 139.4 kB / 0.5827 GB, free: 13.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7022, allocations: 0 / 0.5827 GB, free: 13.21 MB / 462.1 MB Notification: Performance of Templates: time 0.03811/0.7404, allocations: 19.32 MB / 0.6015 GB, free: 9.938 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1)