Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.491/1.491, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.3183/0.3183, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.001435/0.001435, allocations: 74.39 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0156/0.131, allocations: 15.74 MB / 450.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2302/0.3613, allocations: 4.49 MB / 454.7 MB, free: 36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.3659, allocations: 81.81 kB / 454.8 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005378/0.3714, allocations: 2.254 MB / 457.1 MB, free: 36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006533/0.378, allocations: 2.065 MB / 459.1 MB, free: 35.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3798, allocations: 0.6288 MB / 459.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006382/0.3862, allocations: 4.438 MB / 464.2 MB, free: 35.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004573/0.3908, allocations: 3.221 MB / 467.4 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.3946, allocations: 1.637 MB / 469 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.3986, allocations: 2.278 MB / 471.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.4002, allocations: 350.6 kB / 471.7 MB, free: 33.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.4038, allocations: 1.038 MB / 472.7 MB, free: 33.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003454/0.4073, allocations: 2.067 MB / 474.8 MB, free: 32.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005279/0.4127, allocations: 2.486 MB / 477.3 MB, free: 30.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.4241, allocations: 7.708 MB / 485 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.4242, allocations: 2.516 kB / 485 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4242, allocations: 0 / 485 MB, free: 28.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004833/0.4247, allocations: 0 / 485 MB, free: 28.34 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.02193/0.4467, allocations: 5.262 MB / 490.2 MB, free: 25.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.123e-05/0.4468, allocations: 13.64 kB / 490.2 MB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01491/0.4617, allocations: 3.189 MB / 493.4 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.4697, allocations: 2.452 MB / 495.9 MB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004236/0.4702, allocations: 265.4 kB / 496.1 MB, free: 23.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/0.4727, allocations: 344.2 kB / 496.5 MB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02901/0.5017, allocations: 12.66 MB / 0.4972 GB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004163/0.5022, allocations: 29.56 kB / 0.4972 GB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002139/0.5043, allocations: 165 kB / 0.4974 GB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006616/0.511, allocations: 3.035 MB / 0.5004 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02637/0.5374, allocations: 11.34 MB / 0.5114 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0659/0.6033, allocations: 42.31 MB / 0.5527 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009157/0.6125, allocations: 4.706 MB / 0.5573 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00314/0.6157, allocations: 2.44 MB / 0.5597 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.6169, allocations: 1.32 MB / 0.561 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6169, allocations: 56.56 kB / 0.5611 GB, free: 1.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.609e-06/0.6169, allocations: 3 kB / 0.5611 GB, free: 1.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=268): time 0.0455/0.6624, allocations: 19.52 MB / 0.5801 GB, free: 13.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.6626, allocations: 107.1 kB / 0.5802 GB, free: 13.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008625/0.6712, allocations: 3.255 MB / 0.5834 GB, free: 10.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007399/0.672, allocations: 61.7 kB / 0.5835 GB, free: 10.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003412/0.6754, allocations: 3.279 MB / 0.5867 GB, free: 6.902 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002189/0.6776, allocations: 0.9821 MB / 0.5876 GB, free: 5.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003847/0.6815, allocations: 1.213 MB / 0.5888 GB, free: 4.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6816, allocations: 305.1 kB / 0.5891 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/0.6863, allocations: 2.495 MB / 0.5915 GB, free: 1.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/0.6934, allocations: 5.896 MB / 0.5973 GB, free: 10.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.7051, allocations: 9.194 MB / 0.6063 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/0.7053, allocations: 36 kB / 0.6063 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01849/0.7238, allocations: 9.17 MB / 0.6153 GB, free: 6.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.724, allocations: 56 kB / 0.6153 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/0.7242, allocations: 116 kB / 0.6154 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.7274, allocations: 1.066 MB / 0.6165 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/0.7326, allocations: 1.388 MB / 0.6178 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007831/0.7405, allocations: 5.553 MB / 0.6232 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/0.7469, allocations: 328.9 kB / 0.6236 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/0.7484, allocations: 356 kB / 0.6239 GB, free: 13.28 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (751): * Single equations (assignments): 744 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006607/0.755, allocations: 2.485 MB / 0.6263 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.7561, allocations: 323.8 kB / 0.6266 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.7678, allocations: 5.375 MB / 0.6319 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/0.768, allocations: 51.98 kB / 0.6319 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/0.768, allocations: 4 kB / 0.6319 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.7681, allocations: 11.91 kB / 0.632 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.301/1.069, allocations: 13.35 MB / 0.645 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.069, allocations: 13.56 kB / 0.645 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.071, allocations: 427.9 kB / 0.6454 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/1.074, allocations: 0.8878 MB / 0.6463 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003684/1.074, allocations: 58.7 kB / 0.6463 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005221/1.079, allocations: 4.834 MB / 0.6511 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/1.079, allocations: 17.78 kB / 0.6511 GB, free: 139.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.092, allocations: 8.038 MB / 0.6589 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/1.094, allocations: 0.7315 MB / 0.6596 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000723/1.095, allocations: 53.19 kB / 0.6597 GB, free: 136.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.097, allocations: 148.1 kB / 0.6598 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/1.097, allocations: 168.2 kB / 0.66 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.097, allocations: 84.08 kB / 0.6601 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003834/1.101, allocations: 2.014 MB / 0.662 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.101, allocations: 0 / 0.662 GB, free: 135.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007149/1.108, allocations: 1.117 MB / 0.6631 GB, free: 135.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006619/1.109, allocations: 197.4 kB / 0.6633 GB, free: 135.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01716/1.126, allocations: 9.735 MB / 0.6728 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-05/1.126, allocations: 2.125 kB / 0.6728 GB, free: 133.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003105/1.129, allocations: 2.262 MB / 0.675 GB, free: 133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.132, allocations: 438.9 kB / 0.6755 GB, free: 132.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.154, allocations: 11.74 MB / 0.6869 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00467/1.159, allocations: 3.832 MB / 0.6907 GB, free: 126.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00481/1.164, allocations: 2.184 MB / 0.6928 GB, free: 125.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.165, allocations: 243.1 kB / 0.693 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/1.165, allocations: 0 / 0.693 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.06751/1.232, allocations: 37.63 MB / 0.7298 GB, free: 89.25 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)