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.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001321/0.001321, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.77/1.77, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.4183/0.4183, allocations: 39.93 MB / 309.4 MB, free: 9.328 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.001508/0.001509, allocations: 71.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.177, allocations: 56.88 MB / 434 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3514/0.5285, allocations: 26.15 MB / 460.1 MB, free: 35.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.5462, allocations: 6.283 MB / 466.4 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008569/0.5548, allocations: 104.7 kB / 466.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.558, allocations: 1.32 MB / 467.9 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.561, allocations: 0.8684 MB / 468.7 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.5622, allocations: 494.6 kB / 469.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.5646, allocations: 1.691 MB / 470.9 MB, free: 33.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.5664, allocations: 1.737 MB / 472.6 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009409/0.5673, allocations: 0.6896 MB / 473.3 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009738/0.5683, allocations: 0.9675 MB / 474.3 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.5685, allocations: 141.4 kB / 474.4 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.5696, allocations: 0.6086 MB / 475 MB, free: 32.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.5701, allocations: 0.7382 MB / 475.8 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.5708, allocations: 0.8395 MB / 476.6 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.573, allocations: 2.467 MB / 479.1 MB, free: 30.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.573, allocations: 0 / 479.1 MB, free: 30.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.573, allocations: 0 / 479.1 MB, free: 30.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.573, allocations: 2.969 kB / 479.1 MB, free: 30.59 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.003103/0.5761, allocations: 2.01 MB / 481.1 MB, free: 29.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5762, allocations: 13.36 kB / 481.1 MB, free: 29.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.5772, allocations: 267.2 kB / 481.4 MB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.579, allocations: 1.113 MB / 482.5 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.644e-05/0.5791, allocations: 89.53 kB / 482.6 MB, free: 28.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.5793, allocations: 128.8 kB / 482.7 MB, free: 28.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.5838, allocations: 2.989 MB / 485.7 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.5838, allocations: 17.72 kB / 485.7 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.584, allocations: 59.89 kB / 485.8 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/0.5845, allocations: 437.3 kB / 486.2 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.5889, allocations: 2.161 MB / 488.3 MB, free: 26.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.6045, allocations: 10.74 MB / 499.1 MB, free: 19.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.6086, allocations: 1.234 MB / 0.4886 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.6094, allocations: 410.6 kB / 0.489 GB, free: 18.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005743/0.6151, allocations: 2.991 MB / 0.4919 GB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.6152, allocations: 46.44 kB / 0.4919 GB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.006e-06/0.6152, allocations: 0 / 0.4919 GB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01274/0.628, allocations: 3.765 MB / 0.4956 GB, free: 15.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.6281, allocations: 85.03 kB / 0.4957 GB, free: 15.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.6301, allocations: 1.198 MB / 0.4969 GB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.6302, allocations: 40.11 kB / 0.4969 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.6308, allocations: 0.9417 MB / 0.4978 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.631, allocations: 221.3 kB / 0.498 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/0.6315, allocations: 316.5 kB / 0.4983 GB, free: 13.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.6315, allocations: 305.6 kB / 0.4986 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.6323, allocations: 414.9 kB / 0.499 GB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.6335, allocations: 1.255 MB / 0.5003 GB, free: 11.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.6354, allocations: 1.805 MB / 0.502 GB, free: 10.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.6354, allocations: 8.781 kB / 0.502 GB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003345/0.6388, allocations: 1.731 MB / 0.5037 GB, free: 9.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.6388, allocations: 17.44 kB / 0.5037 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-05/0.6389, allocations: 30.22 kB / 0.5038 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.6392, allocations: 87.59 kB / 0.5038 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6404, allocations: 360.3 kB / 0.5042 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.6419, allocations: 1.886 MB / 0.506 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6432, allocations: 67.66 kB / 0.5061 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6434, allocations: 89.86 kB / 0.5062 GB, free: 7.715 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.00128/0.6447, allocations: 0.6459 MB / 0.5068 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.6449, allocations: 111.6 kB / 0.5069 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.6461, allocations: 0.7116 MB / 0.5076 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.6462, allocations: 6.625 kB / 0.5076 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6462, allocations: 1.312 kB / 0.5076 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6462, allocations: 4.172 kB / 0.5076 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.6501, allocations: 2.239 MB / 0.5098 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6501, allocations: 3.969 kB / 0.5098 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.6505, allocations: 101.2 kB / 0.5099 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.6507, allocations: 65.73 kB / 0.51 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.6508, allocations: 18.03 kB / 0.51 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.6522, allocations: 1.948 MB / 0.5119 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6522, allocations: 6.344 kB / 0.5119 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.6537, allocations: 1.097 MB / 0.513 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.6541, allocations: 213.9 kB / 0.5132 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6542, allocations: 21.56 kB / 0.5132 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.6546, allocations: 26.11 kB / 0.5132 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.6547, allocations: 52.66 kB / 0.5133 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.6547, allocations: 18.12 kB / 0.5133 GB, free: 3.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.6558, allocations: 0.7671 MB / 0.514 GB, free: 2.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6558, allocations: 4 kB / 0.514 GB, free: 2.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001999/0.6578, allocations: 300 kB / 0.5143 GB, free: 2.711 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.0003392/0.6581, allocations: 133.5 kB / 0.5145 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.6606, allocations: 1.201 MB / 0.5156 GB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6606, allocations: 4 kB / 0.5156 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.6611, allocations: 404 kB / 0.516 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6622, allocations: 191.4 kB / 0.5162 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.6674, allocations: 3.504 MB / 0.5196 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.6687, allocations: 1.47 MB / 0.5211 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.6697, allocations: 403 kB / 0.5214 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.6698, allocations: 75.44 kB / 0.5215 GB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6698, allocations: 4 kB / 0.5215 GB, free: 11.83 MB / 398.1 MB Notification: Performance of Templates: time 0.02388/0.6937, allocations: 10.47 MB / 0.5317 GB, free: 1.445 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (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)