Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 99.08 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.0009629/0.0009627, 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.664/1.664, 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.1+maint.om/package.mo): time 0.3855/0.3855, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.1. 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.0005678/0.0005679, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2479/0.3767, allocations: 25.67 MB / 459.6 MB, free: 33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.3889, allocations: 6.603 MB / 466.2 MB, free: 32.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.393, allocations: 119.8 kB / 466.3 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.3971, allocations: 1.294 MB / 467.6 MB, free: 32.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.4103, allocations: 3.952 MB / 471.6 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.4122, allocations: 359.6 kB / 471.9 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003645/0.4159, allocations: 1.995 MB / 473.9 MB, free: 31.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/0.4187, allocations: 2.263 MB / 476.2 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.42, allocations: 0.8909 MB / 477.1 MB, free: 31.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4214, allocations: 1.253 MB / 478.3 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.4218, allocations: 136.6 kB / 478.4 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4231, allocations: 0.6275 MB / 479.1 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.4242, allocations: 1.401 MB / 480.5 MB, free: 31.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.4249, allocations: 0.7576 MB / 481.2 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004999/0.43, allocations: 4.731 MB / 486 MB, free: 30.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.43, allocations: 0 / 486 MB, free: 30.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.43, allocations: 0 / 486 MB, free: 30.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.4303, allocations: 2.906 kB / 486 MB, free: 30.53 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.0083/0.4386, allocations: 3.458 MB / 489.4 MB, free: 28.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4386, allocations: 9.469 kB / 489.4 MB, free: 28.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.4519, allocations: 3.727 MB / 493.2 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/0.4581, allocations: 2.148 MB / 495.3 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.4584, allocations: 196.1 kB / 495.5 MB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.46, allocations: 251.5 kB / 495.7 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/0.4819, allocations: 10.43 MB / 0.4943 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.482, allocations: 26.47 kB / 0.4943 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004976/0.4825, allocations: 123.4 kB / 0.4945 GB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/0.4867, allocations: 2.554 MB / 0.497 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.5057, allocations: 9.493 MB / 0.5062 GB, free: 16.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05047/0.5562, allocations: 32.56 MB / 0.538 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/0.5624, allocations: 3.366 MB / 0.5413 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.5637, allocations: 1.305 MB / 0.5426 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.5637, allocations: 47.88 kB / 0.5426 GB, free: 10.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 8.106e-06/0.5637, allocations: 0 / 0.5426 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02181/0.5855, allocations: 10.34 MB / 0.5527 GB, free: 15.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.5857, allocations: 90.42 kB / 0.5528 GB, free: 15.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/0.5894, allocations: 2.766 MB / 0.5555 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.5897, allocations: 48.91 kB / 0.5556 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001859/0.5915, allocations: 2.755 MB / 0.5582 GB, free: 10.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/0.5923, allocations: 0.7095 MB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.5925, allocations: 96 kB / 0.559 GB, free: 9.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000317/0.5929, allocations: 0.5207 MB / 0.5595 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.5952, allocations: 1.532 MB / 0.561 GB, free: 7.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/0.5997, allocations: 4.434 MB / 0.5654 GB, free: 1.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.6036, allocations: 2.636 MB / 0.5679 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.103e-05/0.6037, allocations: 31.94 kB / 0.568 GB, free: 14.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009852/0.6135, allocations: 5.892 MB / 0.5737 GB, free: 8.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.6136, allocations: 48 kB / 0.5738 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.6137, allocations: 104.9 kB / 0.5739 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.6141, allocations: 196.8 kB / 0.5741 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/0.6175, allocations: 1.088 MB / 0.5751 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.6198, allocations: 1.702 MB / 0.5768 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/0.6251, allocations: 219.9 kB / 0.577 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/0.6266, allocations: 294.3 kB / 0.5773 GB, free: 5.066 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (605): * Single equations (assignments): 598 * Array equations: 6 * 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.006946/0.6336, allocations: 2.037 MB / 0.5793 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.6346, allocations: 252.8 kB / 0.5795 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007427/0.6421, allocations: 2.534 MB / 0.582 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/0.6422, allocations: 26.73 kB / 0.582 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.6422, allocations: 3.938 kB / 0.582 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.6423, allocations: 7.969 kB / 0.582 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02936/0.6716, allocations: 8.155 MB / 0.59 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.155e-05/0.6717, allocations: 8.25 kB / 0.59 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/0.6739, allocations: 251.6 kB / 0.5902 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.6742, allocations: 64.81 kB / 0.5903 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.6745, allocations: 42.72 kB / 0.5903 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.6768, allocations: 1.519 MB / 0.5918 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-05/0.6769, allocations: 19.88 kB / 0.5918 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.6885, allocations: 4.882 MB / 0.5966 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/0.6911, allocations: 0.5056 MB / 0.5971 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009809/0.6921, allocations: 40.06 kB / 0.5971 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002012/0.6941, allocations: 55.91 kB / 0.5972 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003993/0.6945, allocations: 127.2 kB / 0.5973 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002468/0.6948, allocations: 60.38 kB / 0.5974 GB, free: 15.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005199/0.7, allocations: 1.702 MB / 0.599 GB, free: 14.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7001, allocations: 0 / 0.599 GB, free: 14.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00817/0.7083, allocations: 0.8306 MB / 0.5998 GB, free: 13.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0009381/0.7092, allocations: 196 kB / 0.6 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01128/0.7205, allocations: 3.856 MB / 0.6038 GB, free: 9.148 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/0.7206, allocations: 4 kB / 0.6038 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/0.7239, allocations: 1.245 MB / 0.605 GB, free: 7.891 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.7268, allocations: 309.5 kB / 0.6053 GB, free: 7.594 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/0.7563, allocations: 10.42 MB / 0.6155 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/0.7667, allocations: 3.275 MB / 0.6187 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009718/0.7765, allocations: 1.73 MB / 0.6204 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/0.7779, allocations: 191.4 kB / 0.6206 GB, free: 7.773 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.778, allocations: 0 / 0.6206 GB, free: 7.773 MB / 494.1 MB Notification: Performance of Templates: time 0.3066/1.085, allocations: 22.46 MB / 0.6425 GB, free: 143.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) Environment - environmentSimulation: