Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009809, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006417/0.006417, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.866/1.866, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3981/0.3981, allocations: 40 MB / 310.7 MB, free: 9.879 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.0006276/0.000628, allocations: 16 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1604, allocations: 57.97 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3243/0.4847, allocations: 25.32 MB / 462.7 MB, free: 34.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.5006, allocations: 6.321 MB / 469.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00665/0.5073, allocations: 104.5 kB / 469.2 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.5086, allocations: 170.6 kB / 469.3 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.5124, allocations: 0.8569 MB / 470.2 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.5138, allocations: 0.4899 MB / 470.7 MB, free: 33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003188/0.517, allocations: 2.311 MB / 473 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00366/0.5207, allocations: 2.288 MB / 475.3 MB, free: 32.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.5221, allocations: 0.505 MB / 475.8 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.5236, allocations: 0.7989 MB / 476.6 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.5239, allocations: 54.34 kB / 476.6 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.5253, allocations: 0.548 MB / 477.2 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.526, allocations: 0.6335 MB / 477.8 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.5272, allocations: 0.7322 MB / 478.5 MB, free: 31.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.5296, allocations: 2.356 MB / 480.9 MB, free: 30.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5296, allocations: 0 / 480.9 MB, free: 30.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5296, allocations: 7.25 kB / 480.9 MB, free: 30.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.5296, allocations: 0 / 480.9 MB, free: 30.46 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002672/0.5323, allocations: 1.693 MB / 482.6 MB, free: 29.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5324, allocations: 17.05 kB / 482.6 MB, free: 29.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009769/0.5334, allocations: 271.7 kB / 482.9 MB, free: 29.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5349, allocations: 1.11 MB / 484 MB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.535, allocations: 95.27 kB / 484.1 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.5352, allocations: 139.2 kB / 484.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.5398, allocations: 2.991 MB / 487.2 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.5398, allocations: 9.688 kB / 487.2 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.5399, allocations: 58.66 kB / 487.3 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005684/0.5405, allocations: 434.4 kB / 487.7 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.5445, allocations: 2.174 MB / 489.9 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/0.557, allocations: 10.73 MB / 0.4889 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.5612, allocations: 1.238 MB / 0.4901 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.5619, allocations: 412.6 kB / 0.4905 GB, free: 18.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004121/0.566, allocations: 3.003 MB / 0.4934 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5661, allocations: 37.78 kB / 0.4934 GB, free: 16.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.284e-06/0.5661, allocations: 5.094 kB / 0.4935 GB, free: 16.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01252/0.5786, allocations: 3.769 MB / 0.4971 GB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.5787, allocations: 84.19 kB / 0.4972 GB, free: 15.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.5814, allocations: 1.202 MB / 0.4984 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.5815, allocations: 37.64 kB / 0.4984 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009798/0.5824, allocations: 0.9361 MB / 0.4993 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.5827, allocations: 222.7 kB / 0.4996 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.5831, allocations: 146.5 kB / 0.4997 GB, free: 13.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.5832, allocations: 307.2 kB / 0.5 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.5842, allocations: 422.5 kB / 0.5004 GB, free: 13.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.586, allocations: 1.249 MB / 0.5016 GB, free: 11.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.5888, allocations: 1.809 MB / 0.5034 GB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.965e-05/0.5889, allocations: 12.75 kB / 0.5034 GB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004012/0.5929, allocations: 1.732 MB / 0.5051 GB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.593, allocations: 17.56 kB / 0.5051 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-05/0.593, allocations: 30 kB / 0.5051 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003132/0.5934, allocations: 83.47 kB / 0.5052 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.5946, allocations: 360.2 kB / 0.5055 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.5963, allocations: 1.7 MB / 0.5072 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.5976, allocations: 67.48 kB / 0.5073 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.5978, allocations: 85.5 kB / 0.5074 GB, free: 8.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001323/0.5991, allocations: 0.6534 MB / 0.508 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.5995, allocations: 120.3 kB / 0.5081 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.6009, allocations: 0.705 MB / 0.5088 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.601, allocations: 9.594 kB / 0.5088 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.601, allocations: 6.219 kB / 0.5088 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.601, allocations: 0 / 0.5088 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.6056, allocations: 2.233 MB / 0.511 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6056, allocations: 2.75 kB / 0.511 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.606, allocations: 98.58 kB / 0.5111 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.6062, allocations: 71.14 kB / 0.5112 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.6063, allocations: 14.88 kB / 0.5112 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.6077, allocations: 1.751 MB / 0.5129 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.6077, allocations: 7.75 kB / 0.5129 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.6095, allocations: 1.102 MB / 0.514 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.61, allocations: 222 kB / 0.5142 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.6103, allocations: 17.38 kB / 0.5142 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.6107, allocations: 29.3 kB / 0.5142 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.6108, allocations: 48.44 kB / 0.5143 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.6109, allocations: 20.53 kB / 0.5143 GB, free: 3.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001393/0.6123, allocations: 0.7706 MB / 0.515 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.6123, allocations: 4 kB / 0.515 GB, free: 2.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00208/0.6144, allocations: 303.9 kB / 0.5153 GB, free: 2.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003029/0.6147, allocations: 123.6 kB / 0.5154 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.6171, allocations: 1.098 MB / 0.5165 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6171, allocations: 2.938 kB / 0.5165 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.6178, allocations: 404.7 kB / 0.5169 GB, free: 1.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.6197, allocations: 180.4 kB / 0.5171 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.626, allocations: 3.577 MB / 0.5206 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.6278, allocations: 1.458 MB / 0.522 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001386/0.6292, allocations: 405.7 kB / 0.5224 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.6295, allocations: 79.42 kB / 0.5225 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.956e-06/0.6295, allocations: 4 kB / 0.5225 GB, free: 12.55 MB / 398.1 MB Notification: Performance of Templates: time 0.02453/0.654, allocations: 9.992 MB / 0.5322 GB, free: 2.629 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) Environment - environmentSimulation: