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.000864/0.000864, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001066/0.001067, allocations: 172.7 kB / 15.95 MB, free: 208 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.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.306/0.306, allocations: 38.03 MB / 308.4 MB, free: 10.37 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.0005334/0.0005334, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 57.52 MB / 434 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2281/0.345, allocations: 27.12 MB / 461.1 MB, free: 33.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3567, allocations: 6.37 MB / 467.4 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005027/0.3618, allocations: 118.8 kB / 467.6 MB, free: 32.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.3653, allocations: 1.294 MB / 468.9 MB, free: 32.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00932/0.3746, allocations: 4.004 MB / 472.9 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3758, allocations: 363.6 kB / 473.2 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003827/0.3796, allocations: 3.939 MB / 477.2 MB, free: 30.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.3825, allocations: 2.268 MB / 479.4 MB, free: 30.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.3839, allocations: 1.057 MB / 480.5 MB, free: 30.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.3857, allocations: 1.728 MB / 482.2 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002429/0.3859, allocations: 136.8 kB / 482.3 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.387, allocations: 0.6533 MB / 483 MB, free: 30 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009806/0.388, allocations: 1.491 MB / 484.5 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.3886, allocations: 0.762 MB / 485.2 MB, free: 29.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00425/0.3928, allocations: 4.722 MB / 490 MB, free: 29.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3928, allocations: 0 / 490 MB, free: 29.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3928, allocations: 0 / 490 MB, free: 29.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.393, allocations: 0 / 490 MB, free: 29.12 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.004963/0.3979, allocations: 3.45 MB / 493.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.398, allocations: 8.938 kB / 493.4 MB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009821/0.4078, allocations: 3.16 MB / 496.6 MB, free: 26.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/0.4112, allocations: 1.949 MB / 498.5 MB, free: 25.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4113, allocations: 197.8 kB / 498.7 MB, free: 25.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.4118, allocations: 261.1 kB / 499 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/0.4271, allocations: 10.37 MB / 0.4974 GB, free: 19.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/0.4272, allocations: 26.89 kB / 0.4974 GB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000357/0.4275, allocations: 130.5 kB / 0.4976 GB, free: 19.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003794/0.4313, allocations: 2.558 MB / 0.5001 GB, free: 18.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.4464, allocations: 9.414 MB / 0.5093 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/0.4852, allocations: 32.48 MB / 0.541 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/0.4909, allocations: 3.37 MB / 0.5443 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.4924, allocations: 1.081 MB / 0.5453 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.4937, allocations: 1.301 MB / 0.5466 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.4937, allocations: 55.88 kB / 0.5466 GB, free: 6.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 3.757e-06/0.4938, allocations: 0 / 0.5466 GB, free: 6.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.01971/0.5135, allocations: 9.755 MB / 0.5562 GB, free: 12.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.5136, allocations: 94.42 kB / 0.5563 GB, free: 12.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.5173, allocations: 2.641 MB / 0.5588 GB, free: 9.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.5174, allocations: 45.7 kB / 0.5589 GB, free: 9.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.5193, allocations: 2.753 MB / 0.5616 GB, free: 6.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005472/0.5198, allocations: 0.7091 MB / 0.5623 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.52, allocations: 96 kB / 0.5624 GB, free: 6.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003525/0.5204, allocations: 0.513 MB / 0.5629 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.5227, allocations: 1.544 MB / 0.5644 GB, free: 4.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.5268, allocations: 4.466 MB / 0.5687 GB, free: 14.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.5302, allocations: 2.64 MB / 0.5713 GB, free: 11.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.685e-05/0.5303, allocations: 28 kB / 0.5713 GB, free: 11.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.008497/0.5388, allocations: 5.912 MB / 0.5771 GB, free: 5.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/0.5389, allocations: 52.06 kB / 0.5772 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.539, allocations: 107 kB / 0.5773 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.5393, allocations: 192.9 kB / 0.5774 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.5423, allocations: 1.099 MB / 0.5785 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5438, allocations: 1.678 MB / 0.5802 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.5462, allocations: 231 kB / 0.5804 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.5465, allocations: 300 kB / 0.5807 GB, free: 1.777 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 (609): * Single equations (assignments): 602 * 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.003293/0.5498, allocations: 2.036 MB / 0.5826 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003666/0.5502, allocations: 252.7 kB / 0.5829 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.5538, allocations: 2.518 MB / 0.5853 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.5539, allocations: 30.34 kB / 0.5854 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5539, allocations: 0 / 0.5854 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5539, allocations: 11.91 kB / 0.5854 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.5654, allocations: 8.143 MB / 0.5933 GB, free: 4.586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.5655, allocations: 8 kB / 0.5933 GB, free: 4.578 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.5664, allocations: 251.6 kB / 0.5936 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.5666, allocations: 56.83 kB / 0.5936 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/0.5667, allocations: 46.72 kB / 0.5937 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.5679, allocations: 1.508 MB / 0.5952 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.5679, allocations: 15.94 kB / 0.5952 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.5726, allocations: 4.035 MB / 0.5991 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.5735, allocations: 0.5016 MB / 0.5996 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.5737, allocations: 36 kB / 0.5996 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.5744, allocations: 59.94 kB / 0.5997 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.5746, allocations: 128.6 kB / 0.5998 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5747, allocations: 66.53 kB / 0.5999 GB, free: 13.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00228/0.577, allocations: 1.608 MB / 0.6015 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.577, allocations: 0 / 0.6015 GB, free: 11.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003612/0.5806, allocations: 0.8156 MB / 0.6023 GB, free: 11.15 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.0003339/0.581, allocations: 177.3 kB / 0.6024 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005481/0.5865, allocations: 3.873 MB / 0.6062 GB, free: 7.113 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.5865, allocations: 4 kB / 0.6062 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.588, allocations: 1.24 MB / 0.6074 GB, free: 5.863 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5895, allocations: 320.1 kB / 0.6077 GB, free: 5.551 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.6047, allocations: 10.46 MB / 0.6179 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/0.6081, allocations: 3.195 MB / 0.6211 GB, free: 7.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003828/0.612, allocations: 1.73 MB / 0.6227 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.6124, allocations: 183.4 kB / 0.6229 GB, free: 5.785 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6124, allocations: 0 / 0.6229 GB, free: 5.785 MB / 494.1 MB Notification: Performance of Templates: time 0.2436/0.856, allocations: 21.86 MB / 0.6443 GB, free: 142.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: