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.008982/0.008981, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001262/0.001262, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.363/0.363, allocations: 39.94 MB / 309.8 MB, free: 9.418 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.001664/0.001664, allocations: 71.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3183, allocations: 56.87 MB / 492.7 MB, free: 19.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01144/0.3298, allocations: 12.67 MB / 0.4935 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.34, allocations: 3.885 MB / 0.4973 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.3443, allocations: 63.31 kB / 0.4973 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004572/0.349, allocations: 1.331 MB / 0.4986 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008416/0.3575, allocations: 1.779 MB / 0.5004 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.3595, allocations: 423.5 kB / 0.5008 GB, free: 6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008453/0.368, allocations: 3.664 MB / 0.5044 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/0.3718, allocations: 2.046 MB / 0.5064 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.3753, allocations: 1.241 MB / 0.5076 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.3799, allocations: 1.775 MB / 0.5093 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.3814, allocations: 245.8 kB / 0.5095 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.3849, allocations: 0.8229 MB / 0.5103 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003134/0.388, allocations: 1.618 MB / 0.5119 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0043/0.3924, allocations: 1.938 MB / 0.5138 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.4054, allocations: 6.257 MB / 0.5199 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4055, allocations: 0 / 0.5199 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.584e-06/0.4055, allocations: 0 / 0.5199 GB, free: 8.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001491/0.4057, allocations: 3.938 kB / 0.5199 GB, free: 8.66 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.01173/0.4174, allocations: 4.156 MB / 0.524 GB, free: 4.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.4175, allocations: 11.89 kB / 0.524 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/0.4339, allocations: 3.076 MB / 0.527 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.4396, allocations: 1.987 MB / 0.5289 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.4398, allocations: 193.2 kB / 0.5291 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007672/0.4406, allocations: 255.8 kB / 0.5294 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/0.4599, allocations: 10.39 MB / 0.5395 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.895e-05/0.4601, allocations: 27.81 kB / 0.5395 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.4604, allocations: 115.8 kB / 0.5397 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004257/0.4647, allocations: 2.557 MB / 0.5422 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.483, allocations: 9.452 MB / 0.5514 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/0.5326, allocations: 32.25 MB / 0.5829 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/0.5394, allocations: 3.372 MB / 0.5862 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.5415, allocations: 1.081 MB / 0.5872 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.5429, allocations: 1.31 MB / 0.5885 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.543, allocations: 51.88 kB / 0.5886 GB, free: 444 kB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 5.159e-06/0.543, allocations: 0 / 0.5886 GB, free: 444 kB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02282/0.5659, allocations: 9.775 MB / 0.5981 GB, free: 6.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.566, allocations: 98.41 kB / 0.5982 GB, free: 6.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/0.5703, allocations: 2.66 MB / 0.6008 GB, free: 3.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.5705, allocations: 49.7 kB / 0.6008 GB, free: 3.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.5725, allocations: 2.743 MB / 0.6035 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007739/0.5733, allocations: 0.7131 MB / 0.6042 GB, free: 192 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.5748, allocations: 0.9767 MB / 0.6052 GB, free: 15.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.5749, allocations: 309.1 kB / 0.6055 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/0.5775, allocations: 1.571 MB / 0.607 GB, free: 13.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00587/0.5834, allocations: 4.477 MB / 0.6114 GB, free: 7.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009581/0.593, allocations: 6.691 MB / 0.6179 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/0.5931, allocations: 32 kB / 0.6179 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01167/0.6048, allocations: 5.952 MB / 0.6238 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.605, allocations: 53.38 kB / 0.6238 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/0.6051, allocations: 108 kB / 0.6239 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.6056, allocations: 176.8 kB / 0.6241 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.6091, allocations: 1.092 MB / 0.6251 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.6109, allocations: 1.804 MB / 0.6269 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003175/0.6141, allocations: 215.9 kB / 0.6271 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005885/0.6147, allocations: 303.9 kB / 0.6274 GB, free: 5.387 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.003572/0.6183, allocations: 2.028 MB / 0.6294 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.6188, allocations: 248.7 kB / 0.6296 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.6229, allocations: 2.534 MB / 0.6321 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.623, allocations: 20 kB / 0.6321 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.623, allocations: 4 kB / 0.6321 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.623, allocations: 11.97 kB / 0.6321 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3328/0.9558, allocations: 8.137 MB / 0.6401 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.9559, allocations: 9.375 kB / 0.6401 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.9569, allocations: 251.5 kB / 0.6403 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.9571, allocations: 58.7 kB / 0.6404 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.9572, allocations: 52.62 kB / 0.6404 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.9586, allocations: 1.62 MB / 0.642 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/0.9586, allocations: 19.16 kB / 0.642 GB, free: 121.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/0.9651, allocations: 4.052 MB / 0.646 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/0.9671, allocations: 0.4983 MB / 0.6465 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/0.9674, allocations: 40.95 kB / 0.6465 GB, free: 119.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.9681, allocations: 62.28 kB / 0.6466 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.9684, allocations: 125.6 kB / 0.6467 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.9685, allocations: 69.44 kB / 0.6468 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003546/0.9721, allocations: 1.631 MB / 0.6483 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9721, allocations: 0 / 0.6483 GB, free: 118.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005079/0.9772, allocations: 0.8165 MB / 0.6491 GB, free: 118.6 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.0004958/0.9777, allocations: 189.5 kB / 0.6493 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007194/0.9849, allocations: 3.928 MB / 0.6532 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.9849, allocations: 1.125 kB / 0.6532 GB, free: 117.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.9868, allocations: 1.244 MB / 0.6544 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.9888, allocations: 340.8 kB / 0.6547 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.006, allocations: 8.62 MB / 0.6631 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005018/1.011, allocations: 3.192 MB / 0.6662 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003602/1.015, allocations: 1.734 MB / 0.6679 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/1.015, allocations: 190.5 kB / 0.6681 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/1.015, allocations: 0 / 0.6681 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.03868/1.054, allocations: 20.65 MB / 0.6883 GB, free: 94.61 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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)