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.0009509/0.0009509, allocations: 100.1 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.001188/0.001188, allocations: 177.3 kB / 15.95 MB, free: 216 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3465/0.3465, allocations: 40 MB / 310.4 MB, free: 9.637 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.0005965/0.0005966, allocations: 20 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1597, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2435/0.4032, allocations: 29.76 MB / 466.5 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01719/0.4204, allocations: 7.341 MB / 473.9 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007847/0.4283, allocations: 140.4 kB / 474 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006182/0.4346, allocations: 1.427 MB / 475.4 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.4495, allocations: 4.046 MB / 479.5 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.4526, allocations: 0.509 MB / 480 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.4552, allocations: 0.9742 MB / 481 MB, free: 29.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005765/0.461, allocations: 4.039 MB / 485 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.4623, allocations: 0.5723 MB / 485.6 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.4634, allocations: 0.7352 MB / 486.3 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.4637, allocations: 100 kB / 486.4 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4649, allocations: 0.669 MB / 487.1 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007317/0.4657, allocations: 0.9128 MB / 488 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.4661, allocations: 0.5147 MB / 488.5 MB, free: 26.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.4703, allocations: 3.856 MB / 492.4 MB, free: 25.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4704, allocations: 0 / 492.4 MB, free: 25.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4704, allocations: 4 kB / 492.4 MB, free: 25.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001566/0.4705, allocations: 0 / 492.4 MB, free: 25.49 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.006563/0.4771, allocations: 2.634 MB / 495 MB, free: 24.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4772, allocations: 13.25 kB / 495 MB, free: 24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.4789, allocations: 371.5 kB / 495.4 MB, free: 23.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.4815, allocations: 1.291 MB / 496.7 MB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.4817, allocations: 181.5 kB / 496.8 MB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/0.4822, allocations: 232.5 kB / 497.1 MB, free: 22.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.498, allocations: 7.043 MB / 0.4923 GB, free: 20.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/0.4981, allocations: 22.72 kB / 0.4923 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/0.4984, allocations: 98.69 kB / 0.4924 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.5, allocations: 0.9913 MB / 0.4934 GB, free: 19.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.5143, allocations: 5.837 MB / 0.4991 GB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.539, allocations: 20.32 MB / 0.5189 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.5456, allocations: 1.841 MB / 0.5207 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.5526, allocations: 4.927 MB / 0.5255 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.5526, allocations: 43.12 kB / 0.5256 GB, free: 11.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/0.5527, allocations: 0 / 0.5256 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03978/0.5924, allocations: 9.375 MB / 0.5347 GB, free: 1.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.5926, allocations: 94.06 kB / 0.5348 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.5954, allocations: 1.962 MB / 0.5367 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.5956, allocations: 41.7 kB / 0.5368 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.597, allocations: 1.671 MB / 0.5384 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.5975, allocations: 410.5 kB / 0.5388 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.5976, allocations: 60.03 kB / 0.5389 GB, free: 13.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.5978, allocations: 428 kB / 0.5393 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/0.5995, allocations: 1.025 MB / 0.5403 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/0.602, allocations: 2.637 MB / 0.5428 GB, free: 8.734 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.6041, allocations: 1.584 MB / 0.5444 GB, free: 7.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/0.6042, allocations: 16 kB / 0.5444 GB, free: 7.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005428/0.6096, allocations: 3.668 MB / 0.548 GB, free: 3.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.6097, allocations: 28 kB / 0.548 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/0.6097, allocations: 56 kB / 0.5481 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.179e-05/0.6098, allocations: 84 kB / 0.5481 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/0.6121, allocations: 0.7097 MB / 0.5488 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.283e-05/0.6122, allocations: 119.3 kB / 0.549 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.614, allocations: 156 kB / 0.5491 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.6142, allocations: 164 kB / 0.5493 GB, free: 2.16 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.002018/0.6163, allocations: 1.203 MB / 0.5504 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.6166, allocations: 177.7 kB / 0.5506 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.6193, allocations: 1.731 MB / 0.5523 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.6193, allocations: 12 kB / 0.5523 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6194, allocations: 0 / 0.5523 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.6194, allocations: 15.92 kB / 0.5523 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009395/0.6288, allocations: 5.873 MB / 0.5581 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.6288, allocations: 8 kB / 0.5581 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/0.6297, allocations: 211.6 kB / 0.5583 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/0.6297, allocations: 20 kB / 0.5583 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/0.6298, allocations: 32 kB / 0.5583 GB, free: 8.594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.07e-05/0.6298, allocations: 28.52 kB / 0.5583 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.6298, allocations: 19.94 kB / 0.5584 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/0.6329, allocations: 2.608 MB / 0.5609 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005584/0.6335, allocations: 270.7 kB / 0.5612 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.6337, allocations: 35.98 kB / 0.5612 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.6343, allocations: 39.98 kB / 0.5612 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.6345, allocations: 104.1 kB / 0.5613 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.6346, allocations: 47.98 kB / 0.5614 GB, free: 4.844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001915/0.6365, allocations: 1.277 MB / 0.5626 GB, free: 3.543 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6365, allocations: 0 / 0.5626 GB, free: 3.543 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002534/0.639, allocations: 0.5351 MB / 0.5632 GB, free: 3.008 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.0003948/0.6394, allocations: 182.8 kB / 0.5633 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003801/0.6432, allocations: 2.24 MB / 0.5655 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6433, allocations: 3.938 kB / 0.5655 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.6441, allocations: 0.5992 MB / 0.5661 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6451, allocations: 228.5 kB / 0.5663 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009319/0.6545, allocations: 6.169 MB / 0.5723 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/0.6567, allocations: 2.242 MB / 0.5745 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002157/0.6589, allocations: 0.7741 MB / 0.5753 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.6594, allocations: 139.4 kB / 0.5754 GB, free: 6.207 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6594, allocations: 0 / 0.5754 GB, free: 6.207 MB / 446.1 MB Notification: Performance of Templates: time 0.03596/0.6953, allocations: 18.62 MB / 0.5936 GB, free: 3.641 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: