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.004582/0.004581, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.001131/0.001131, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3002/0.3002, allocations: 38 MB / 307.9 MB, free: 10.2 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.001482/0.001482, allocations: 68.55 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01752/0.3501, allocations: 12.65 MB / 0.4904 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.3634, allocations: 3.893 MB / 0.4942 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00395/0.3674, allocations: 62.12 kB / 0.4942 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00423/0.3717, allocations: 1.328 MB / 0.4955 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007603/0.3793, allocations: 1.83 MB / 0.4973 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3811, allocations: 417.3 kB / 0.4977 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009734/0.3909, allocations: 3.67 MB / 0.5013 GB, free: 5.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.3949, allocations: 2.047 MB / 0.5033 GB, free: 3.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.3977, allocations: 1.238 MB / 0.5045 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.401, allocations: 1.771 MB / 0.5062 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.4023, allocations: 242.2 kB / 0.5064 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.4054, allocations: 0.8295 MB / 0.5073 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002615/0.408, allocations: 1.626 MB / 0.5088 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004887/0.413, allocations: 1.943 MB / 0.5107 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.4238, allocations: 6.251 MB / 0.5168 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4239, allocations: 1 kB / 0.5168 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4239, allocations: 0 / 0.5168 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003145/0.4242, allocations: 0 / 0.5168 GB, free: 11.12 MB / 398.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.0139/0.4381, allocations: 4.147 MB / 0.5209 GB, free: 7.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4382, allocations: 11.89 kB / 0.5209 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.4493, allocations: 3.076 MB / 0.5239 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/0.4557, allocations: 1.999 MB / 0.5259 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.456, allocations: 193.2 kB / 0.526 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.458, allocations: 255.7 kB / 0.5263 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.4796, allocations: 10.39 MB / 0.5364 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.4797, allocations: 23.75 kB / 0.5365 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.4808, allocations: 131.8 kB / 0.5366 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004663/0.4855, allocations: 2.55 MB / 0.5391 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.5062, allocations: 9.459 MB / 0.5483 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05458/0.5608, allocations: 32.24 MB / 0.5798 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/0.5668, allocations: 3.383 MB / 0.5831 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.5685, allocations: 1.081 MB / 0.5842 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/0.5698, allocations: 1.303 MB / 0.5854 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.5698, allocations: 55.81 kB / 0.5855 GB, free: 3.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 6.291e-06/0.5699, allocations: 0 / 0.5855 GB, free: 3.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02355/0.5934, allocations: 9.771 MB / 0.595 GB, free: 9.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.5936, allocations: 90.42 kB / 0.5951 GB, free: 9.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/0.5997, allocations: 2.664 MB / 0.5977 GB, free: 6.742 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.5999, allocations: 45.7 kB / 0.5978 GB, free: 6.691 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.6025, allocations: 2.743 MB / 0.6004 GB, free: 3.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009998/0.6035, allocations: 0.7171 MB / 0.6011 GB, free: 3.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002293/0.6058, allocations: 0.9844 MB / 0.6021 GB, free: 2.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.606, allocations: 309.1 kB / 0.6024 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/0.6089, allocations: 1.563 MB / 0.6039 GB, free: 316 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.614, allocations: 4.485 MB / 0.6083 GB, free: 10.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008621/0.6226, allocations: 6.691 MB / 0.6148 GB, free: 2.242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/0.6228, allocations: 28 kB / 0.6149 GB, free: 2.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01185/0.6347, allocations: 5.948 MB / 0.6207 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.6348, allocations: 51.94 kB / 0.6207 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/0.635, allocations: 108 kB / 0.6208 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.6354, allocations: 181.5 kB / 0.621 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.6388, allocations: 1.103 MB / 0.6221 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.6407, allocations: 1.792 MB / 0.6238 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/0.6439, allocations: 223.8 kB / 0.624 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005999/0.6446, allocations: 296.2 kB / 0.6243 GB, free: 8.383 MB / 0.4981 GB 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 (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.004552/0.6491, allocations: 2.028 MB / 0.6263 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007876/0.6499, allocations: 252.7 kB / 0.6265 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.6545, allocations: 2.542 MB / 0.629 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.6545, allocations: 20 kB / 0.629 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.6545, allocations: 8 kB / 0.6291 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6545, allocations: 3.984 kB / 0.6291 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3612/1.016, allocations: 8.133 MB / 0.637 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.016, allocations: 10.12 kB / 0.637 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.017, allocations: 251.1 kB / 0.6372 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/1.017, allocations: 55.33 kB / 0.6373 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/1.017, allocations: 47.09 kB / 0.6373 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/1.019, allocations: 1.625 MB / 0.6389 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.019, allocations: 15.38 kB / 0.6389 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/1.025, allocations: 4.056 MB / 0.6429 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.027, allocations: 0.5032 MB / 0.6434 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/1.027, allocations: 40.89 kB / 0.6434 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/1.028, allocations: 54.31 kB / 0.6435 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.028, allocations: 125.5 kB / 0.6436 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.028, allocations: 63.84 kB / 0.6437 GB, free: 121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003496/1.032, allocations: 1.635 MB / 0.6453 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.032, allocations: 0 / 0.6453 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005043/1.037, allocations: 0.8123 MB / 0.6461 GB, free: 120.3 MB / 0.4981 GB 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 (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 Backend phase and start with SimCode phase: time 0.0004644/1.037, allocations: 189.6 kB / 0.6462 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007224/1.044, allocations: 3.931 MB / 0.6501 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.044, allocations: 2.281 kB / 0.6501 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/1.047, allocations: 1.244 MB / 0.6513 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.049, allocations: 338.7 kB / 0.6516 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/1.07, allocations: 8.613 MB / 0.66 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004602/1.074, allocations: 3.196 MB / 0.6632 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004265/1.079, allocations: 1.733 MB / 0.6648 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/1.079, allocations: 190.8 kB / 0.665 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.675e-06/1.079, allocations: 3.906 kB / 0.665 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.04394/1.123, allocations: 21.11 MB / 0.6856 GB, free: 99.39 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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)