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.001326/0.001327, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.749/1.749, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.4289/0.4289, allocations: 39.93 MB / 309.7 MB, free: 9.305 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.001494/0.001494, allocations: 78.41 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1379, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.0115/0.1494, allocations: 10.34 MB / 444.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.1561, allocations: 3.407 MB / 448.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008858/0.157, allocations: 47.94 kB / 448.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004295/0.1613, allocations: 2.621 MB / 450.9 MB, free: 3.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1629, allocations: 0.68 MB / 451.6 MB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.1646, allocations: 0.7094 MB / 452.3 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.1665, allocations: 1.699 MB / 454 MB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2447/0.4111, allocations: 3.336 MB / 457.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.4127, allocations: 1.042 MB / 458.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.4143, allocations: 1.364 MB / 459.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.4147, allocations: 286.6 kB / 460 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.4164, allocations: 0.9884 MB / 461 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008514/0.4172, allocations: 1.23 MB / 462.2 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.4183, allocations: 1.459 MB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.4217, allocations: 4.774 MB / 468.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4217, allocations: 0 / 468.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4217, allocations: 0 / 468.5 MB, free: 34.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.33e-05/0.4218, allocations: 0 / 468.5 MB, free: 34.17 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.006218/0.428, allocations: 3.09 MB / 471.6 MB, free: 32.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.4281, allocations: 12.92 kB / 471.6 MB, free: 32.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.4295, allocations: 358.9 kB / 471.9 MB, free: 32.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.4317, allocations: 1.322 MB / 473.2 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.4319, allocations: 176.9 kB / 473.4 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/0.4323, allocations: 239.6 kB / 473.7 MB, free: 31.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.4474, allocations: 6.884 MB / 480.5 MB, free: 28.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.4475, allocations: 14.97 kB / 480.6 MB, free: 28.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.4478, allocations: 104.4 kB / 480.7 MB, free: 28.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001838/0.4497, allocations: 0.9938 MB / 481.6 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.4664, allocations: 5.668 MB / 487.3 MB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02865/0.4951, allocations: 20.27 MB / 0.4957 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007074/0.5023, allocations: 1.819 MB / 0.4975 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.5034, allocations: 0.6878 MB / 0.4981 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007002/0.5104, allocations: 4.878 MB / 0.5029 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.5105, allocations: 47.03 kB / 0.503 GB, free: 9.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 4.188e-06/0.5105, allocations: 0 / 0.503 GB, free: 9.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.04151/0.552, allocations: 9.241 MB / 0.512 GB, free: 4.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.5521, allocations: 97.23 kB / 0.5121 GB, free: 4.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.5543, allocations: 1.978 MB / 0.514 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.5545, allocations: 41.7 kB / 0.514 GB, free: 2.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.5552, allocations: 1.674 MB / 0.5157 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.5555, allocations: 405.3 kB / 0.5161 GB, free: 448 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007523/0.5563, allocations: 0.5785 MB / 0.5166 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5565, allocations: 305.1 kB / 0.5169 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5582, allocations: 1.04 MB / 0.5179 GB, free: 14.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.5618, allocations: 2.663 MB / 0.5205 GB, free: 11.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.5682, allocations: 3.985 MB / 0.5244 GB, free: 6.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.987e-05/0.5683, allocations: 20 kB / 0.5244 GB, free: 6.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006224/0.5745, allocations: 3.68 MB / 0.528 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.5746, allocations: 36.03 kB / 0.5281 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-05/0.5747, allocations: 56 kB / 0.5281 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.428e-05/0.5748, allocations: 79.84 kB / 0.5282 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.5771, allocations: 0.7075 MB / 0.5289 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-05/0.5772, allocations: 112.1 kB / 0.529 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.5791, allocations: 167.7 kB / 0.5292 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/0.5794, allocations: 168 kB / 0.5293 GB, free: 1.922 MB / 398.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.002087/0.5815, allocations: 1.203 MB / 0.5305 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.5818, allocations: 177.8 kB / 0.5307 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/0.5848, allocations: 1.735 MB / 0.5324 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5848, allocations: 8 kB / 0.5324 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.5848, allocations: 4 kB / 0.5324 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5848, allocations: 11.02 kB / 0.5324 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5957, allocations: 5.876 MB / 0.5381 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.5958, allocations: 12 kB / 0.5381 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/0.5967, allocations: 207.6 kB / 0.5383 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.5967, allocations: 16 kB / 0.5383 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.828e-05/0.5968, allocations: 39.98 kB / 0.5384 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/0.5968, allocations: 27.81 kB / 0.5384 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-05/0.5969, allocations: 16.44 kB / 0.5384 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.5996, allocations: 1.693 MB / 0.5401 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.6002, allocations: 270.7 kB / 0.5403 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.6004, allocations: 35.98 kB / 0.5404 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006813/0.6011, allocations: 43.92 kB / 0.5404 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6012, allocations: 96.22 kB / 0.5405 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.6013, allocations: 44 kB / 0.5405 GB, free: 6.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.6033, allocations: 1.292 MB / 0.5418 GB, free: 4.746 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.767e-06/0.6033, allocations: 0 / 0.5418 GB, free: 4.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003179/0.6065, allocations: 0.5351 MB / 0.5423 GB, free: 4.211 MB / 414.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.0003765/0.6069, allocations: 196.3 kB / 0.5425 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.6111, allocations: 2.508 MB / 0.545 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.6111, allocations: 4 kB / 0.545 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.6119, allocations: 0.5952 MB / 0.5456 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.6134, allocations: 259 kB / 0.5458 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009286/0.6227, allocations: 5.232 MB / 0.5509 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.625, allocations: 2.184 MB / 0.553 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002458/0.6275, allocations: 0.7703 MB / 0.5538 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.6279, allocations: 131.4 kB / 0.5539 GB, free: 8.133 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6279, allocations: 0 / 0.5539 GB, free: 8.133 MB / 430.1 MB Notification: Performance of Templates: time 0.03966/0.6676, allocations: 20.07 MB / 0.5735 GB, free: 4.152 MB / 446.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)