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.001185/0.001185, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001076/0.001076, allocations: 168.7 kB / 15.95 MB, free: 204 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.932/1.932, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3888/0.3888, allocations: 40 MB / 310.4 MB, free: 9.922 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.0006204/0.0006207, allocations: 20 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1439, allocations: 57.95 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2855/0.4294, allocations: 31.45 MB / 468.2 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.4476, allocations: 7.076 MB / 475.3 MB, free: 31.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009002/0.4567, allocations: 144.5 kB / 475.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006749/0.4635, allocations: 1.455 MB / 476.9 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01251/0.4761, allocations: 4.078 MB / 481 MB, free: 29.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.4789, allocations: 0.5528 MB / 481.6 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002999/0.4819, allocations: 2.206 MB / 483.8 MB, free: 28.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004992/0.4869, allocations: 4.075 MB / 487.8 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.4882, allocations: 0.7016 MB / 488.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.4895, allocations: 1.071 MB / 489.6 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.4898, allocations: 96.88 kB / 489.7 MB, free: 26.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.4914, allocations: 0.703 MB / 490.4 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.4921, allocations: 0.9858 MB / 491.4 MB, free: 25.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.4925, allocations: 0.5227 MB / 491.9 MB, free: 25.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.4972, allocations: 3.845 MB / 495.8 MB, free: 24.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4972, allocations: 0 / 495.8 MB, free: 24.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4972, allocations: 0 / 495.8 MB, free: 24.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000222/0.4974, allocations: 0 / 495.8 MB, free: 24.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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007959/0.5054, allocations: 2.578 MB / 498.3 MB, free: 23.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5055, allocations: 9.969 kB / 498.3 MB, free: 23.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5077, allocations: 363.5 kB / 498.7 MB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.5109, allocations: 1.293 MB / 500 MB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.5112, allocations: 181.2 kB / 0.4884 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.5126, allocations: 232.8 kB / 0.4887 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.5289, allocations: 6.904 MB / 0.4954 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-05/0.529, allocations: 18.81 kB / 0.4954 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.5293, allocations: 106 kB / 0.4955 GB, free: 19.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.5309, allocations: 0.9943 MB / 0.4965 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.5451, allocations: 5.667 MB / 0.502 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/0.576, allocations: 20.29 MB / 0.5218 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007147/0.5832, allocations: 1.826 MB / 0.5236 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.5845, allocations: 0.6906 MB / 0.5243 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007999/0.5926, allocations: 4.88 MB / 0.5291 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.5927, allocations: 43.12 kB / 0.5291 GB, free: 8.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 4.017e-06/0.5927, allocations: 0 / 0.5291 GB, free: 8.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03997/0.6326, allocations: 9.34 MB / 0.5382 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.6328, allocations: 86.11 kB / 0.5383 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.6368, allocations: 1.966 MB / 0.5402 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.637, allocations: 45.7 kB / 0.5403 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.6386, allocations: 1.671 MB / 0.5419 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/0.6393, allocations: 410.5 kB / 0.5423 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.6395, allocations: 60 kB / 0.5424 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.6398, allocations: 424 kB / 0.5428 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.6418, allocations: 1.032 MB / 0.5438 GB, free: 9.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003335/0.6451, allocations: 2.652 MB / 0.5464 GB, free: 5.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.648, allocations: 1.576 MB / 0.5479 GB, free: 4.246 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/0.648, allocations: 16 kB / 0.5479 GB, free: 4.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0074/0.6554, allocations: 3.664 MB / 0.5515 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.46e-05/0.6556, allocations: 32 kB / 0.5515 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.6557, allocations: 56.84 kB / 0.5516 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001008/0.6558, allocations: 84 kB / 0.5517 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/0.6584, allocations: 0.7097 MB / 0.5523 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001154/0.6586, allocations: 119.4 kB / 0.5525 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.6609, allocations: 159.8 kB / 0.5526 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/0.6613, allocations: 168 kB / 0.5528 GB, free: 15.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002709/0.664, allocations: 1.199 MB / 0.5539 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.6644, allocations: 177.7 kB / 0.5541 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.668, allocations: 1.731 MB / 0.5558 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.668, allocations: 12 kB / 0.5558 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.668, allocations: 7.891 kB / 0.5558 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.668, allocations: 11.97 kB / 0.5558 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.6819, allocations: 5.862 MB / 0.5616 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.6821, allocations: 16.25 kB / 0.5616 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.6831, allocations: 207.6 kB / 0.5618 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.209e-05/0.6832, allocations: 16 kB / 0.5618 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.6833, allocations: 36 kB / 0.5618 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.6833, allocations: 27.86 kB / 0.5619 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/0.6833, allocations: 23.89 kB / 0.5619 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/0.6869, allocations: 1.681 MB / 0.5635 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.6883, allocations: 266.7 kB / 0.5638 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008216/0.6891, allocations: 35.98 kB / 0.5638 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.6904, allocations: 39.98 kB / 0.5638 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.6907, allocations: 104.2 kB / 0.5639 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.6908, allocations: 44 kB / 0.564 GB, free: 3.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003316/0.6941, allocations: 1.284 MB / 0.5652 GB, free: 1.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.6941, allocations: 0 / 0.5652 GB, free: 1.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004237/0.6983, allocations: 0.5311 MB / 0.5658 GB, free: 1.434 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.0004855/0.6988, allocations: 186.9 kB / 0.5659 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004488/0.7033, allocations: 2.239 MB / 0.5681 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.7034, allocations: 0 / 0.5681 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7044, allocations: 0.5991 MB / 0.5687 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.7067, allocations: 255.5 kB / 0.569 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.7194, allocations: 6.201 MB / 0.575 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003726/0.7232, allocations: 2.18 MB / 0.5771 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002938/0.7261, allocations: 0.7625 MB / 0.5779 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.7269, allocations: 135.4 kB / 0.578 GB, free: 4.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.7269, allocations: 0 / 0.578 GB, free: 4.66 MB / 446.1 MB Notification: Performance of Templates: time 0.04589/0.7728, allocations: 18.66 MB / 0.5962 GB, free: 2.051 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: