Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001016/0.001015, allocations: 91.69 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.001191/0.001191, 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.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4316/0.4316, allocations: 39.99 MB / 310.4 MB, free: 9.57 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.0005116/0.0005116, allocations: 20 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 57.96 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2762/0.398, allocations: 27.12 MB / 463.9 MB, free: 33.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4118, allocations: 6.363 MB / 470.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006182/0.418, allocations: 121 kB / 470.4 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.4226, allocations: 1.291 MB / 471.7 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.4363, allocations: 4.01 MB / 475.7 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.4389, allocations: 362.1 kB / 476.1 MB, free: 31.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006146/0.4451, allocations: 3.93 MB / 480 MB, free: 31.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/0.4488, allocations: 2.278 MB / 482.3 MB, free: 30.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4506, allocations: 1.057 MB / 483.3 MB, free: 29.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002514/0.4532, allocations: 1.727 MB / 485 MB, free: 29.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005034/0.4537, allocations: 136 kB / 485.2 MB, free: 29.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.4556, allocations: 0.6528 MB / 485.8 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.4573, allocations: 1.499 MB / 487.3 MB, free: 28.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008842/0.4582, allocations: 0.7553 MB / 488.1 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006882/0.4651, allocations: 4.73 MB / 492.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4651, allocations: 0 / 492.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4651, allocations: 0 / 492.8 MB, free: 27.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000228/0.4653, allocations: 0 / 492.8 MB, free: 27.55 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.008508/0.4739, allocations: 3.437 MB / 496.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4739, allocations: 9.938 kB / 496.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4852, allocations: 3.162 MB / 499.4 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.4905, allocations: 1.956 MB / 0.4896 GB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.4908, allocations: 197.5 kB / 0.4898 GB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001247/0.492, allocations: 255.5 kB / 0.4901 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02295/0.515, allocations: 10.38 MB / 0.5002 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.5152, allocations: 30.53 kB / 0.5002 GB, free: 17.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004631/0.5156, allocations: 123.6 kB / 0.5003 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004722/0.5204, allocations: 2.552 MB / 0.5028 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.5429, allocations: 9.426 MB / 0.512 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05162/0.5946, allocations: 32.47 MB / 0.5437 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006263/0.6009, allocations: 3.37 MB / 0.547 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.6027, allocations: 1.08 MB / 0.5481 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.6038, allocations: 1.305 MB / 0.5494 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.6039, allocations: 55.81 kB / 0.5494 GB, free: 2.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 5.44e-06/0.6039, allocations: 0 / 0.5494 GB, free: 2.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02113/0.6251, allocations: 9.752 MB / 0.5589 GB, free: 8.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.6252, allocations: 94.42 kB / 0.559 GB, free: 8.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004152/0.6293, allocations: 2.633 MB / 0.5616 GB, free: 6.086 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.6295, allocations: 49.69 kB / 0.5617 GB, free: 6.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/0.6315, allocations: 2.751 MB / 0.5643 GB, free: 3.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007022/0.6322, allocations: 0.7132 MB / 0.565 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.6324, allocations: 96 kB / 0.5651 GB, free: 2.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003425/0.6328, allocations: 0.5169 MB / 0.5656 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/0.6352, allocations: 1.548 MB / 0.5671 GB, free: 352 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005917/0.6411, allocations: 4.462 MB / 0.5715 GB, free: 10.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.6462, allocations: 2.64 MB / 0.5741 GB, free: 7.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.864e-05/0.6463, allocations: 31.95 kB / 0.5741 GB, free: 7.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01126/0.6576, allocations: 5.916 MB / 0.5799 GB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.6577, allocations: 48.97 kB / 0.5799 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/0.6578, allocations: 104 kB / 0.58 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.6582, allocations: 196.9 kB / 0.5802 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/0.6617, allocations: 1.092 MB / 0.5813 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.6634, allocations: 1.682 MB / 0.5829 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.6663, allocations: 215.9 kB / 0.5831 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/0.6668, allocations: 300 kB / 0.5834 GB, free: 14.08 MB / 462.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.003919/0.6707, allocations: 2.032 MB / 0.5854 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.6712, allocations: 256.7 kB / 0.5857 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.6751, allocations: 2.526 MB / 0.5881 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/0.6752, allocations: 27.98 kB / 0.5881 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.6752, allocations: 0 / 0.5881 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.6752, allocations: 3.984 kB / 0.5881 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.6889, allocations: 8.16 MB / 0.5961 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.689, allocations: 8 kB / 0.5961 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.6899, allocations: 259.5 kB / 0.5964 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.6901, allocations: 56.83 kB / 0.5964 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/0.6902, allocations: 40 kB / 0.5965 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.6915, allocations: 1.511 MB / 0.5979 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/0.6915, allocations: 15.94 kB / 0.598 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.6968, allocations: 4.033 MB / 0.6019 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.698, allocations: 0.4978 MB / 0.6024 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/0.6983, allocations: 44.05 kB / 0.6024 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.6991, allocations: 59.91 kB / 0.6025 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.6993, allocations: 124.6 kB / 0.6026 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.6994, allocations: 63.98 kB / 0.6027 GB, free: 9.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002823/0.7022, allocations: 1.608 MB / 0.6042 GB, free: 8.207 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7023, allocations: 0 / 0.6042 GB, free: 8.207 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004494/0.7068, allocations: 0.8086 MB / 0.605 GB, free: 7.398 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.0005026/0.7073, allocations: 182.8 kB / 0.6052 GB, free: 7.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00655/0.7138, allocations: 3.872 MB / 0.609 GB, free: 3.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.7139, allocations: 4 kB / 0.609 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.7157, allocations: 1.245 MB / 0.6102 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.7181, allocations: 320.8 kB / 0.6105 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/0.7361, allocations: 10.46 MB / 0.6207 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005338/0.7414, allocations: 3.202 MB / 0.6238 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004564/0.746, allocations: 1.726 MB / 0.6255 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.7466, allocations: 179.4 kB / 0.6257 GB, free: 2.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.413e-06/0.7466, allocations: 8 kB / 0.6257 GB, free: 2.012 MB / 494.1 MB Notification: Performance of Templates: time 0.2688/1.015, allocations: 21.86 MB / 0.6471 GB, free: 142.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) Environment - environmentSimulation: