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.00696/0.00696, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001159/0.001159, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.579/1.579, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.318/0.318, allocations: 38 MB / 307.9 MB, free: 10.11 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.001478/0.001478, allocations: 71.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3474, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01171/0.3591, allocations: 12.66 MB / 0.4904 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008178/0.3674, allocations: 3.889 MB / 0.4942 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.3701, allocations: 62.19 kB / 0.4942 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.3731, allocations: 1.328 MB / 0.4955 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.3782, allocations: 1.785 MB / 0.4973 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.3793, allocations: 423.2 kB / 0.4977 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004942/0.3843, allocations: 3.665 MB / 0.5012 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.3865, allocations: 2.05 MB / 0.5032 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3882, allocations: 1.233 MB / 0.5044 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.3903, allocations: 1.779 MB / 0.5062 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005558/0.3908, allocations: 243.2 kB / 0.5064 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.3925, allocations: 0.8255 MB / 0.5072 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.3938, allocations: 1.622 MB / 0.5088 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.3956, allocations: 1.933 MB / 0.5107 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.4029, allocations: 6.253 MB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.403, allocations: 1.25 kB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.403, allocations: 4 kB / 0.5168 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000225/0.4032, allocations: 0 / 0.5168 GB, free: 11.16 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.009805/0.413, allocations: 4.148 MB / 0.5209 GB, free: 7.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4131, allocations: 15.89 kB / 0.5209 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.4248, allocations: 3.072 MB / 0.5239 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.4306, allocations: 1.995 MB / 0.5258 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4307, allocations: 201.2 kB / 0.526 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007291/0.4315, allocations: 255.7 kB / 0.5263 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.4484, allocations: 10.39 MB / 0.5364 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.4486, allocations: 27.8 kB / 0.5364 GB, free: 6.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.4489, allocations: 123.8 kB / 0.5365 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/0.4531, allocations: 2.55 MB / 0.539 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.4702, allocations: 9.463 MB / 0.5483 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04153/0.5117, allocations: 32.25 MB / 0.5798 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/0.5174, allocations: 3.371 MB / 0.5831 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5189, allocations: 1.085 MB / 0.5841 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.5201, allocations: 1.307 MB / 0.5854 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5201, allocations: 43.88 kB / 0.5854 GB, free: 3.461 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 3.998e-06/0.5201, allocations: 0 / 0.5854 GB, free: 3.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.01972/0.5399, allocations: 9.779 MB / 0.595 GB, free: 9.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.54, allocations: 94.42 kB / 0.5951 GB, free: 9.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003198/0.5432, allocations: 2.656 MB / 0.5977 GB, free: 6.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.5433, allocations: 49.7 kB / 0.5977 GB, free: 6.727 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5449, allocations: 2.743 MB / 0.6004 GB, free: 3.941 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005636/0.5455, allocations: 0.7171 MB / 0.6011 GB, free: 3.215 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.5466, allocations: 0.9882 MB / 0.6021 GB, free: 2.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.5467, allocations: 305.1 kB / 0.6024 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/0.5489, allocations: 1.571 MB / 0.6039 GB, free: 344 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/0.5529, allocations: 4.485 MB / 0.6083 GB, free: 10.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006874/0.5598, allocations: 6.691 MB / 0.6148 GB, free: 2.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.748e-05/0.5598, allocations: 32 kB / 0.6148 GB, free: 2.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009376/0.5692, allocations: 5.949 MB / 0.6206 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/0.5693, allocations: 51.94 kB / 0.6207 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.5695, allocations: 104 kB / 0.6208 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.5698, allocations: 176.8 kB / 0.621 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.5731, allocations: 1.096 MB / 0.622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.5747, allocations: 1.797 MB / 0.6238 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.5776, allocations: 219.8 kB / 0.624 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/0.5781, allocations: 308 kB / 0.6243 GB, free: 8.41 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.003093/0.5812, allocations: 2.02 MB / 0.6263 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/0.5816, allocations: 248.7 kB / 0.6265 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/0.5852, allocations: 2.546 MB / 0.629 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.5853, allocations: 20 kB / 0.629 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5853, allocations: 0 / 0.629 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.5853, allocations: 3.984 kB / 0.629 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.211/0.7963, allocations: 8.14 MB / 0.637 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.7964, allocations: 9.844 kB / 0.637 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.7974, allocations: 251.2 kB / 0.6372 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.7975, allocations: 57.77 kB / 0.6373 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.7977, allocations: 40.58 kB / 0.6373 GB, free: 124.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7987, allocations: 1.627 MB / 0.6389 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.7988, allocations: 16.44 kB / 0.6389 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/0.804, allocations: 4.055 MB / 0.6429 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.8055, allocations: 0.5007 MB / 0.6433 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/0.8059, allocations: 37.3 kB / 0.6434 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/0.8067, allocations: 58.67 kB / 0.6434 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.807, allocations: 121.9 kB / 0.6436 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.8072, allocations: 74.69 kB / 0.6436 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00271/0.8099, allocations: 1.631 MB / 0.6452 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.22e-07/0.8099, allocations: 0 / 0.6452 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004017/0.8139, allocations: 0.816 MB / 0.646 GB, free: 120.4 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.0003885/0.8143, allocations: 180.5 kB / 0.6462 GB, free: 120.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005873/0.8202, allocations: 3.929 MB / 0.65 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/0.8202, allocations: 5.094 kB / 0.65 GB, free: 119 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.822, allocations: 1.24 MB / 0.6512 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.8239, allocations: 342.3 kB / 0.6516 GB, free: 118.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.8375, allocations: 8.615 MB / 0.66 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/0.8411, allocations: 3.198 MB / 0.6631 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002909/0.844, allocations: 1.731 MB / 0.6648 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.8444, allocations: 188.1 kB / 0.665 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.8444, allocations: 0.875 kB / 0.665 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.03934/0.8838, allocations: 20.66 MB / 0.6852 GB, free: 99.92 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)