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.001503/0.001503, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001437/0.001437, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.554/1.554, allocations: 205.1 MB / 222 MB, free: 4.742 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.3502/0.3502, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001331/0.001331, allocations: 67.91 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1277, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2806/0.4083, allocations: 30.06 MB / 461.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.4242, allocations: 6.787 MB / 467.9 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007858/0.4322, allocations: 121.2 kB / 468 MB, free: 33.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003144/0.4354, allocations: 1.276 MB / 469.3 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.44, allocations: 1.666 MB / 470.9 MB, free: 32.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.4411, allocations: 402.2 kB / 471.3 MB, free: 32.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004917/0.446, allocations: 5.114 MB / 476.4 MB, free: 31.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002445/0.4485, allocations: 1.999 MB / 478.4 MB, free: 30.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4502, allocations: 1.08 MB / 479.5 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.4521, allocations: 1.86 MB / 481.4 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004778/0.4526, allocations: 175 kB / 481.5 MB, free: 29.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.4542, allocations: 0.8004 MB / 482.3 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.4555, allocations: 1.577 MB / 483.9 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.4571, allocations: 1.885 MB / 485.8 MB, free: 27.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.4636, allocations: 5.894 MB / 491.7 MB, free: 25.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4636, allocations: 0.5625 kB / 491.7 MB, free: 25.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4636, allocations: 0 / 491.7 MB, free: 25.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.4639, allocations: 4.719 kB / 491.7 MB, free: 25.91 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.01131/0.4752, allocations: 4.149 MB / 495.8 MB, free: 23.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4753, allocations: 10.44 kB / 495.9 MB, free: 23.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.4877, allocations: 3.069 MB / 498.9 MB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.4937, allocations: 1.974 MB / 0.4892 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.494, allocations: 195.7 kB / 0.4893 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.4954, allocations: 255.9 kB / 0.4896 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.5153, allocations: 10.4 MB / 0.4997 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.5154, allocations: 22.69 kB / 0.4998 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.5159, allocations: 119.4 kB / 0.4999 GB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004012/0.52, allocations: 2.559 MB / 0.5024 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.5392, allocations: 9.451 MB / 0.5116 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05275/0.592, allocations: 32.47 MB / 0.5433 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006658/0.5987, allocations: 3.375 MB / 0.5466 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.6003, allocations: 1.082 MB / 0.5477 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.6015, allocations: 1.31 MB / 0.5489 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.6016, allocations: 47.88 kB / 0.549 GB, free: 1.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 4.439e-06/0.6016, allocations: 0 / 0.549 GB, free: 1.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.0202/0.6218, allocations: 9.776 MB / 0.5585 GB, free: 7.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.6219, allocations: 94.42 kB / 0.5586 GB, free: 7.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.6254, allocations: 2.648 MB / 0.5612 GB, free: 5.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.6256, allocations: 56.52 kB / 0.5613 GB, free: 4.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.6274, allocations: 2.746 MB / 0.564 GB, free: 2.238 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008487/0.6283, allocations: 0.7134 MB / 0.5646 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.6295, allocations: 0.9852 MB / 0.5656 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.6296, allocations: 305.1 kB / 0.5659 GB, free: 244 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.6318, allocations: 1.571 MB / 0.5674 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.6367, allocations: 4.477 MB / 0.5718 GB, free: 8.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/0.6441, allocations: 6.699 MB / 0.5783 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/0.6442, allocations: 36 kB / 0.5784 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.009312/0.6535, allocations: 5.944 MB / 0.5842 GB, free: 10.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-05/0.6536, allocations: 51.94 kB / 0.5842 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.6538, allocations: 104 kB / 0.5843 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.6541, allocations: 172.8 kB / 0.5845 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.6571, allocations: 1.096 MB / 0.5856 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.6586, allocations: 1.689 MB / 0.5872 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.6613, allocations: 216 kB / 0.5874 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.6617, allocations: 307.1 kB / 0.5877 GB, free: 6.863 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 (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.00315/0.6648, allocations: 2.036 MB / 0.5897 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/0.6653, allocations: 248.7 kB / 0.5899 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/0.6691, allocations: 2.536 MB / 0.5924 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/0.6691, allocations: 27.12 kB / 0.5924 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.6691, allocations: 3.938 kB / 0.5925 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6692, allocations: 7.969 kB / 0.5925 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.684, allocations: 8.16 MB / 0.6004 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/0.6841, allocations: 8 kB / 0.6004 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.685, allocations: 252.5 kB / 0.6007 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.6853, allocations: 68.83 kB / 0.6007 GB, free: 9.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.6854, allocations: 46.8 kB / 0.6008 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.6867, allocations: 1.503 MB / 0.6023 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-05/0.6867, allocations: 23.86 kB / 0.6023 GB, free: 7.613 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/0.6921, allocations: 4.057 MB / 0.6062 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.6932, allocations: 0.4939 MB / 0.6067 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/0.6937, allocations: 36 kB / 0.6068 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.6948, allocations: 55.95 kB / 0.6068 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.6951, allocations: 127.5 kB / 0.6069 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.6952, allocations: 60 kB / 0.607 GB, free: 2.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003269/0.6985, allocations: 1.644 MB / 0.6086 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6985, allocations: 0 / 0.6086 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005343/0.7039, allocations: 0.8147 MB / 0.6094 GB, free: 160 kB / 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 (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.0006317/0.7046, allocations: 169.7 kB / 0.6096 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006852/0.7114, allocations: 3.897 MB / 0.6134 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-05/0.7115, allocations: 4.188 kB / 0.6134 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.7136, allocations: 1.235 MB / 0.6146 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.7161, allocations: 345.4 kB / 0.6149 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2145/0.9307, allocations: 10.78 MB / 0.6254 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00411/0.9349, allocations: 3.195 MB / 0.6285 GB, free: 124.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004239/0.9391, allocations: 1.739 MB / 0.6302 GB, free: 124.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.9397, allocations: 190.1 kB / 0.6304 GB, free: 124.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.452e-06/0.9397, allocations: 0 / 0.6304 GB, free: 124.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05055/0.9902, allocations: 22.55 MB / 0.6524 GB, free: 121 MB / 494.1 MB 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)