Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001274/0.001274, allocations: 99.86 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.001414/0.001414, 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.612/1.612, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.4142/0.4142, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0006167/0.0006169, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1485, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.3579/0.5065, allocations: 29.72 MB / 463.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02188/0.5284, allocations: 7.21 MB / 470.9 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009493/0.538, allocations: 138.1 kB / 471 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007759/0.5458, allocations: 1.439 MB / 472.4 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01837/0.5642, allocations: 4.046 MB / 476.5 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.5674, allocations: 380 kB / 476.8 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.5708, allocations: 0.9301 MB / 477.8 MB, free: 31.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007289/0.5781, allocations: 4.016 MB / 481.8 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.5799, allocations: 0.5323 MB / 482.3 MB, free: 29.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.5816, allocations: 0.7066 MB / 483 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007341/0.5824, allocations: 91.88 kB / 483.1 MB, free: 29.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.584, allocations: 0.4985 MB / 483.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009603/0.585, allocations: 0.9079 MB / 484.5 MB, free: 29.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005885/0.5856, allocations: 0.5184 MB / 485 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.5896, allocations: 3.685 MB / 488.7 MB, free: 28.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.5896, allocations: 4 kB / 488.7 MB, free: 28.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.5896, allocations: 3.938 kB / 488.7 MB, free: 28.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001431/0.5898, allocations: 0 / 488.7 MB, free: 28.06 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.006991/0.5968, allocations: 2.454 MB / 491.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.5968, allocations: 13.39 kB / 491.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.5986, allocations: 362.7 kB / 491.6 MB, free: 26.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.6013, allocations: 1.226 MB / 492.8 MB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.6015, allocations: 175.7 kB / 493 MB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004033/0.6019, allocations: 245.4 kB / 493.2 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.6159, allocations: 6.105 MB / 499.3 MB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/0.616, allocations: 14.75 kB / 499.3 MB, free: 23.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.6162, allocations: 100.5 kB / 499.4 MB, free: 23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.6182, allocations: 0.9645 MB / 0.4886 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.6317, allocations: 4.577 MB / 0.4931 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02792/0.6597, allocations: 18.57 MB / 0.5113 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/0.6642, allocations: 1.274 MB / 0.5125 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.6663, allocations: 2.066 MB / 0.5145 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.6663, allocations: 42.53 kB / 0.5146 GB, free: 4.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.416e-06/0.6663, allocations: 0 / 0.5146 GB, free: 4.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.0224/0.6887, allocations: 6.004 MB / 0.5204 GB, free: 1.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.6889, allocations: 92.8 kB / 0.5205 GB, free: 1.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.6913, allocations: 1.818 MB / 0.5223 GB, free: 176 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.6914, allocations: 45.7 kB / 0.5223 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.6927, allocations: 1.657 MB / 0.5239 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000385/0.6931, allocations: 412.7 kB / 0.5243 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-05/0.6932, allocations: 56 kB / 0.5244 GB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.6935, allocations: 423.8 kB / 0.5248 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.6948, allocations: 0.7902 MB / 0.5256 GB, free: 12.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.6973, allocations: 2.342 MB / 0.5279 GB, free: 9.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.6993, allocations: 1.338 MB / 0.5292 GB, free: 8.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/0.6993, allocations: 20 kB / 0.5292 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005122/0.7045, allocations: 3.133 MB / 0.5322 GB, free: 5.184 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.7045, allocations: 28.19 kB / 0.5323 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.425e-05/0.7046, allocations: 60 kB / 0.5323 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.794e-05/0.7047, allocations: 80 kB / 0.5324 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.7066, allocations: 0.6434 MB / 0.533 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-05/0.7067, allocations: 107.6 kB / 0.5331 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.7085, allocations: 123.9 kB / 0.5332 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.7087, allocations: 160 kB / 0.5334 GB, free: 3.992 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002199/0.7109, allocations: 1.204 MB / 0.5346 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/0.7112, allocations: 173.7 kB / 0.5347 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.7134, allocations: 1.258 MB / 0.536 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.7134, allocations: 12 kB / 0.536 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.7134, allocations: 0 / 0.536 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.7134, allocations: 11.97 kB / 0.536 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.7238, allocations: 6.451 MB / 0.5423 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/0.7239, allocations: 23.95 kB / 0.5423 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006311/0.7245, allocations: 203.6 kB / 0.5425 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/0.7246, allocations: 31.98 kB / 0.5425 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/0.7247, allocations: 40 kB / 0.5426 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.03e-05/0.7247, allocations: 39.86 kB / 0.5426 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.491e-05/0.7247, allocations: 35.81 kB / 0.5427 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.7285, allocations: 3.191 MB / 0.5458 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.7293, allocations: 270.8 kB / 0.546 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.7295, allocations: 47.97 kB / 0.5461 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.7302, allocations: 40 kB / 0.5461 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.7303, allocations: 135.4 kB / 0.5462 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.7304, allocations: 55.98 kB / 0.5463 GB, free: 5.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002085/0.7325, allocations: 1.216 MB / 0.5475 GB, free: 4.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7325, allocations: 0 / 0.5475 GB, free: 4.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003241/0.7358, allocations: 0.496 MB / 0.548 GB, free: 3.629 MB / 414.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 (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.0004116/0.7362, allocations: 203.7 kB / 0.5482 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.7397, allocations: 1.815 MB / 0.5499 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.7397, allocations: 4 kB / 0.5499 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007198/0.7405, allocations: 493.9 kB / 0.5504 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.7418, allocations: 249.4 kB / 0.5506 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.7524, allocations: 6.267 MB / 0.5568 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002551/0.755, allocations: 2.252 MB / 0.559 GB, free: 8.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002241/0.7572, allocations: 0.7073 MB / 0.5597 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.7575, allocations: 131.4 kB / 0.5598 GB, free: 7.191 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7575, allocations: 0 / 0.5598 GB, free: 7.191 MB / 430.1 MB Notification: Performance of Templates: time 0.03393/0.7915, allocations: 15.4 MB / 0.5748 GB, free: 7.855 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) Environment - environmentSimulation: