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.0007653/0.0007654, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007962/0.0007962, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.3671/0.3671, allocations: 38.04 MB / 308.4 MB, free: 10.47 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.0006082/0.0006084, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2676/0.3937, allocations: 31.46 MB / 465.4 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.4098, allocations: 7.066 MB / 472.5 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006561/0.4164, allocations: 141 kB / 472.6 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.421, allocations: 1.466 MB / 474.1 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.4338, allocations: 4.07 MB / 478.2 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.4366, allocations: 0.554 MB / 478.7 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002973/0.4396, allocations: 2.214 MB / 480.9 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/0.4444, allocations: 4.075 MB / 485 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.4456, allocations: 0.7094 MB / 485.7 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.4467, allocations: 1.075 MB / 486.8 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.4469, allocations: 96.91 kB / 486.9 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4481, allocations: 0.6949 MB / 487.6 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.4488, allocations: 0.9796 MB / 488.5 MB, free: 27.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.4492, allocations: 0.5199 MB / 489.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.4534, allocations: 3.847 MB / 492.9 MB, free: 26.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4535, allocations: 5.453 kB / 492.9 MB, free: 26.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4535, allocations: 0 / 492.9 MB, free: 26.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001601/0.4536, allocations: 2.75 kB / 492.9 MB, free: 26.87 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.006737/0.4604, allocations: 2.575 MB / 495.5 MB, free: 25.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4604, allocations: 9.859 kB / 495.5 MB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.4621, allocations: 360.4 kB / 495.9 MB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.4644, allocations: 1.306 MB / 497.2 MB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.4645, allocations: 176 kB / 497.3 MB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/0.465, allocations: 232.1 kB / 497.6 MB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.4824, allocations: 6.911 MB / 0.4927 GB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-05/0.4825, allocations: 17.58 kB / 0.4927 GB, free: 21.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.4828, allocations: 99.02 kB / 0.4928 GB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.4845, allocations: 0.9965 MB / 0.4937 GB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.4996, allocations: 5.666 MB / 0.4993 GB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03198/0.5317, allocations: 20.27 MB / 0.5191 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/0.5383, allocations: 1.827 MB / 0.5208 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.5393, allocations: 0.6891 MB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007145/0.5465, allocations: 4.894 MB / 0.5263 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5466, allocations: 43.06 kB / 0.5263 GB, free: 12.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 4.609e-06/0.5466, allocations: 0 / 0.5263 GB, free: 12.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.0383/0.5849, allocations: 9.338 MB / 0.5355 GB, free: 3.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.585, allocations: 90.06 kB / 0.5355 GB, free: 3.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.5887, allocations: 1.958 MB / 0.5375 GB, free: 1.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.5889, allocations: 49.72 kB / 0.5375 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.5904, allocations: 1.675 MB / 0.5391 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005072/0.5909, allocations: 416.9 kB / 0.5395 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.5911, allocations: 60 kB / 0.5396 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002532/0.5914, allocations: 420 kB / 0.54 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.5932, allocations: 1.029 MB / 0.541 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.5963, allocations: 2.652 MB / 0.5436 GB, free: 9.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.5989, allocations: 1.588 MB / 0.5451 GB, free: 8.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.803e-05/0.5989, allocations: 16 kB / 0.5452 GB, free: 8.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006333/0.6053, allocations: 3.66 MB / 0.5487 GB, free: 4.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.6054, allocations: 32 kB / 0.5488 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/0.6055, allocations: 56 kB / 0.5488 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.312e-05/0.6056, allocations: 84 kB / 0.5489 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.608, allocations: 0.7064 MB / 0.5496 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001201/0.6082, allocations: 123.5 kB / 0.5497 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6101, allocations: 155.8 kB / 0.5498 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.6104, allocations: 168 kB / 0.55 GB, free: 3.363 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.002408/0.6128, allocations: 1.199 MB / 0.5512 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.6133, allocations: 181.7 kB / 0.5514 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.6165, allocations: 1.727 MB / 0.553 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.6165, allocations: 12 kB / 0.5531 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.6165, allocations: 0 / 0.5531 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6165, allocations: 3.984 kB / 0.5531 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.6276, allocations: 5.875 MB / 0.5588 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.6277, allocations: 13 kB / 0.5588 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.6285, allocations: 211.6 kB / 0.559 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/0.6286, allocations: 20 kB / 0.559 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.6287, allocations: 36 kB / 0.5591 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.296e-05/0.6287, allocations: 23.92 kB / 0.5591 GB, free: 9.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-05/0.6287, allocations: 23.88 kB / 0.5591 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.631, allocations: 1.681 MB / 0.5607 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.6317, allocations: 266.7 kB / 0.561 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004426/0.6322, allocations: 39.92 kB / 0.561 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.6332, allocations: 43.92 kB / 0.5611 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.6334, allocations: 104.2 kB / 0.5612 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.6335, allocations: 44 kB / 0.5612 GB, free: 7.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002602/0.6361, allocations: 1.281 MB / 0.5625 GB, free: 6.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6361, allocations: 0 / 0.5625 GB, free: 6.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003006/0.6391, allocations: 0.5273 MB / 0.563 GB, free: 5.578 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.000438/0.6396, allocations: 189.6 kB / 0.5632 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.6437, allocations: 2.238 MB / 0.5654 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6438, allocations: 1.875 kB / 0.5654 GB, free: 3.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.6448, allocations: 0.5953 MB / 0.5659 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.6467, allocations: 249.7 kB / 0.5662 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6586, allocations: 6.204 MB / 0.5722 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003982/0.6626, allocations: 2.18 MB / 0.5744 GB, free: 9.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002835/0.6654, allocations: 0.7625 MB / 0.5751 GB, free: 8.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006754/0.6661, allocations: 139.4 kB / 0.5752 GB, free: 8.805 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6662, allocations: 0 / 0.5752 GB, free: 8.805 MB / 446.1 MB Notification: Performance of Templates: time 0.04033/0.7065, allocations: 18.65 MB / 0.5935 GB, free: 6.203 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: