Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000946/0.0009459, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005867/0.005867, allocations: 172.7 kB / 16.27 MB, free: 6.648 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.454/1.454, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.314/0.314, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005675/0.0005675, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2568/0.3789, allocations: 45.82 MB / 480.4 MB, free: 27.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.402, allocations: 9.665 MB / 490.1 MB, free: 22.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.4133, allocations: 195 kB / 490.2 MB, free: 22.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.4153, allocations: 0.5327 MB / 490.8 MB, free: 21.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.4203, allocations: 1.942 MB / 492.7 MB, free: 21.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.4218, allocations: 0.5766 MB / 493.3 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006776/0.4286, allocations: 6.233 MB / 499.5 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005894/0.4345, allocations: 3.952 MB / 0.4917 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003385/0.4379, allocations: 1.28 MB / 0.4929 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.4423, allocations: 2.182 MB / 0.4951 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.4436, allocations: 173.2 kB / 0.4952 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.4469, allocations: 0.936 MB / 0.4961 GB, free: 16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003353/0.4503, allocations: 1.897 MB / 0.498 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004754/0.455, allocations: 2.3 MB / 0.5002 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.4665, allocations: 7.426 MB / 0.5075 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4665, allocations: 0 / 0.5075 GB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4665, allocations: 0 / 0.5075 GB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003376/0.4669, allocations: 5.094 kB / 0.5075 GB, free: 10.88 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.0124/0.4793, allocations: 4.283 MB / 0.5117 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.4793, allocations: 9.469 kB / 0.5117 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.4918, allocations: 3.278 MB / 0.5149 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006838/0.4987, allocations: 2.462 MB / 0.5173 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.499, allocations: 257.4 kB / 0.5175 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.5008, allocations: 346.1 kB / 0.5179 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02427/0.5251, allocations: 12.66 MB / 0.5302 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001946/0.5253, allocations: 39.64 kB / 0.5303 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.5265, allocations: 163.8 kB / 0.5304 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005625/0.5321, allocations: 3.032 MB / 0.5334 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/0.5585, allocations: 11.34 MB / 0.5445 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06684/0.6254, allocations: 42.34 MB / 0.5858 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/0.6349, allocations: 4.7 MB / 0.5904 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003638/0.6386, allocations: 2.443 MB / 0.5928 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.64, allocations: 1.319 MB / 0.5941 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.6401, allocations: 52.56 kB / 0.5941 GB, free: 6.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 7.534e-06/0.6401, allocations: 0 / 0.5941 GB, free: 6.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.04522/0.6853, allocations: 19.51 MB / 0.6132 GB, free: 2.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.6854, allocations: 103.1 kB / 0.6133 GB, free: 2.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/0.6906, allocations: 3.262 MB / 0.6165 GB, free: 15.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007268/0.6914, allocations: 57.7 kB / 0.6165 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.694, allocations: 3.284 MB / 0.6197 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001589/0.6956, allocations: 0.979 MB / 0.6207 GB, free: 11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/0.6966, allocations: 0.5311 MB / 0.6212 GB, free: 10.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6967, allocations: 301.1 kB / 0.6215 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/0.701, allocations: 2.499 MB / 0.6239 GB, free: 7.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/0.7078, allocations: 5.884 MB / 0.6297 GB, free: 104 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2434/0.9513, allocations: 9.208 MB / 0.6387 GB, free: 137.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.022e-05/0.9514, allocations: 33 kB / 0.6387 GB, free: 137.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.014/0.9655, allocations: 9.172 MB / 0.6476 GB, free: 134.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/0.9656, allocations: 57.84 kB / 0.6477 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.9657, allocations: 116.7 kB / 0.6478 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/0.9685, allocations: 1.059 MB / 0.6488 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.9728, allocations: 1.396 MB / 0.6502 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.9792, allocations: 5.148 MB / 0.6552 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005229/0.9844, allocations: 324.7 kB / 0.6555 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/0.9857, allocations: 357.2 kB / 0.6559 GB, free: 131.4 MB / 494.1 MB 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.005595/0.9913, allocations: 2.482 MB / 0.6583 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/0.992, allocations: 318.8 kB / 0.6586 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.002, allocations: 5.379 MB / 0.6639 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.786e-05/1.002, allocations: 51.7 kB / 0.6639 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.002, allocations: 4.25 kB / 0.6639 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.002, allocations: 10.31 kB / 0.6639 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/1.028, allocations: 13.35 MB / 0.677 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.028, allocations: 11.72 kB / 0.677 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.029, allocations: 427 kB / 0.6774 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/1.032, allocations: 0.892 MB / 0.6783 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/1.032, allocations: 55.25 kB / 0.6783 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/1.037, allocations: 4.495 MB / 0.6827 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/1.037, allocations: 18.88 kB / 0.6827 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/1.048, allocations: 8.035 MB / 0.6906 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.05, allocations: 0.7385 MB / 0.6913 GB, free: 116.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007618/1.05, allocations: 58.83 kB / 0.6913 GB, free: 116.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.052, allocations: 151.8 kB / 0.6915 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/1.053, allocations: 167.7 kB / 0.6917 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.053, allocations: 79.75 kB / 0.6917 GB, free: 116.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004126/1.057, allocations: 2.015 MB / 0.6937 GB, free: 114.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 0 / 0.6937 GB, free: 114.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006828/1.064, allocations: 1.119 MB / 0.6948 GB, free: 113.7 MB / 494.1 MB 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.0007136/1.065, allocations: 204.5 kB / 0.695 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009735/1.074, allocations: 6.074 MB / 0.7009 GB, free: 108.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.074, allocations: 4 kB / 0.7009 GB, free: 108.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/1.077, allocations: 2.251 MB / 0.7031 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006617/1.084, allocations: 428.1 kB / 0.7035 GB, free: 105.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/1.103, allocations: 14.43 MB / 0.7176 GB, free: 91.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006506/1.109, allocations: 3.829 MB / 0.7214 GB, free: 88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005061/1.114, allocations: 2.185 MB / 0.7235 GB, free: 85.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.116, allocations: 243.4 kB / 0.7237 GB, free: 85.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/1.116, allocations: 0 / 0.7237 GB, free: 85.56 MB / 494.1 MB Notification: Performance of Templates: time 0.06254/1.178, allocations: 35.7 MB / 0.7586 GB, free: 49.96 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) Environment - environmentSimulation: