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.001278/0.001278, allocations: 99.7 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.001485/0.001485, allocations: 177.3 kB / 15.94 MB, free: 228 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.518/1.518, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.3336/0.3336, allocations: 40 MB / 310.4 MB, free: 9.969 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.0006098/0.0006099, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 57.95 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2547/0.3791, allocations: 22.34 MB / 459.1 MB, free: 33.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.3936, allocations: 6.169 MB / 465.3 MB, free: 33.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.3983, allocations: 106.9 kB / 465.4 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004067/0.4024, allocations: 1.066 MB / 466.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.4132, allocations: 3.363 MB / 469.8 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.415, allocations: 444 kB / 470.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.4169, allocations: 0.9773 MB / 471.2 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.4193, allocations: 1.973 MB / 473.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.42, allocations: 444.5 kB / 473.6 MB, free: 32.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006247/0.4206, allocations: 0.5827 MB / 474.2 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.4207, allocations: 53.88 kB / 474.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.4215, allocations: 427 kB / 474.7 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.422, allocations: 0.5838 MB / 475.3 MB, free: 32.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.4222, allocations: 313.7 kB / 475.6 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.4238, allocations: 1.908 MB / 477.5 MB, free: 32.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4238, allocations: 0 / 477.5 MB, free: 32.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4238, allocations: 0 / 477.5 MB, free: 32.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.985e-05/0.4238, allocations: 4 kB / 477.5 MB, free: 32.02 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.002906/0.4268, allocations: 1.738 MB / 479.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4268, allocations: 9.188 kB / 479.2 MB, free: 31.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.4279, allocations: 281.6 kB / 479.5 MB, free: 30.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.43, allocations: 1.283 MB / 480.8 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/0.4301, allocations: 91.03 kB / 480.9 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.4303, allocations: 142 kB / 481 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.4353, allocations: 3.033 MB / 484 MB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.4354, allocations: 10.28 kB / 484 MB, free: 29.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.4355, allocations: 67.38 kB / 484.1 MB, free: 29.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005182/0.436, allocations: 431.9 kB / 484.5 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.4405, allocations: 2.228 MB / 486.8 MB, free: 28.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/0.4539, allocations: 10.8 MB / 497.6 MB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004079/0.4581, allocations: 1.254 MB / 498.8 MB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004114/0.4622, allocations: 3.035 MB / 0.4901 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4623, allocations: 38.78 kB / 0.4901 GB, free: 19.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.826e-06/0.4623, allocations: 0 / 0.4901 GB, free: 19.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0121/0.4744, allocations: 3.809 MB / 0.4938 GB, free: 17.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.4745, allocations: 84.55 kB / 0.4939 GB, free: 17.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.4763, allocations: 1.321 MB / 0.4952 GB, free: 17.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.4764, allocations: 35.33 kB / 0.4953 GB, free: 17.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.4769, allocations: 0.9408 MB / 0.4962 GB, free: 16.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.4771, allocations: 219 kB / 0.4964 GB, free: 16.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.4771, allocations: 30.94 kB / 0.4964 GB, free: 16.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4773, allocations: 374.4 kB / 0.4968 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.4779, allocations: 406 kB / 0.4972 GB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.479, allocations: 1.227 MB / 0.4984 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.48, allocations: 0.6699 MB / 0.499 GB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.4801, allocations: 12.03 kB / 0.499 GB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002937/0.483, allocations: 1.692 MB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.4831, allocations: 20.44 kB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/0.4831, allocations: 34.56 kB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.4834, allocations: 91.78 kB / 0.5008 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4845, allocations: 357 kB / 0.5012 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.4859, allocations: 1.71 MB / 0.5028 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/0.4869, allocations: 66.48 kB / 0.5029 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.487, allocations: 85.66 kB / 0.503 GB, free: 11.66 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 (190): * Single equations (assignments): 189 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001013/0.488, allocations: 0.6424 MB / 0.5036 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4882, allocations: 117.1 kB / 0.5037 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.4894, allocations: 0.7178 MB / 0.5044 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4894, allocations: 4.719 kB / 0.5044 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4894, allocations: 6.062 kB / 0.5044 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4894, allocations: 0 / 0.5044 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.4928, allocations: 2.246 MB / 0.5066 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4928, allocations: 3.75 kB / 0.5066 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4932, allocations: 89.95 kB / 0.5067 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.4934, allocations: 74.67 kB / 0.5068 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.4934, allocations: 14.47 kB / 0.5068 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.4947, allocations: 1.768 MB / 0.5085 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4947, allocations: 4.125 kB / 0.5085 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.4961, allocations: 1.304 MB / 0.5098 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.4964, allocations: 224.9 kB / 0.51 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.4966, allocations: 20.14 kB / 0.51 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.4969, allocations: 30.83 kB / 0.5101 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.497, allocations: 43.03 kB / 0.5101 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.497, allocations: 19.75 kB / 0.5101 GB, free: 6.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001036/0.4981, allocations: 0.8563 MB / 0.5109 GB, free: 5.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4981, allocations: 0 / 0.5109 GB, free: 5.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001565/0.4997, allocations: 326.5 kB / 0.5113 GB, free: 5.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002635/0.4999, allocations: 149.7 kB / 0.5114 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.5015, allocations: 1.079 MB / 0.5125 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5016, allocations: 2.594 kB / 0.5125 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.502, allocations: 404.3 kB / 0.5128 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.5028, allocations: 170.6 kB / 0.513 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.5068, allocations: 3.388 MB / 0.5163 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009497/0.5078, allocations: 1.493 MB / 0.5178 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009717/0.5088, allocations: 416.5 kB / 0.5182 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.5089, allocations: 79.91 kB / 0.5182 GB, free: 1.176 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5089, allocations: 0 / 0.5182 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Templates: time 0.02006/0.529, allocations: 10.36 MB / 0.5284 GB, free: 6.887 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: