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.0008752/0.0008749, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006824/0.006825, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.572/1.572, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3475/0.3475, allocations: 39.99 MB / 310.7 MB, free: 9.996 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.000554/0.000554, allocations: 20 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1252, allocations: 57.96 MB / 437.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2577/0.383, allocations: 45.81 MB / 483.2 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02841/0.4114, allocations: 9.668 MB / 492.9 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01189/0.4234, allocations: 193.4 kB / 493.1 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.4257, allocations: 0.5191 MB / 493.6 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.4314, allocations: 1.956 MB / 495.6 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.433, allocations: 0.5704 MB / 496.1 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006584/0.4396, allocations: 6.232 MB / 0.4906 GB, free: 16.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00681/0.4464, allocations: 3.954 MB / 0.4944 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003647/0.4501, allocations: 1.287 MB / 0.4957 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.4551, allocations: 2.179 MB / 0.4978 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.4568, allocations: 173.9 kB / 0.498 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.4605, allocations: 0.9355 MB / 0.4989 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.4642, allocations: 1.901 MB / 0.5008 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007374/0.4716, allocations: 2.299 MB / 0.503 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.4891, allocations: 7.424 MB / 0.5103 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4892, allocations: 0 / 0.5103 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.4892, allocations: 1.406 kB / 0.5103 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005179/0.4898, allocations: 0 / 0.5103 GB, free: 7.73 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.01634/0.5061, allocations: 4.286 MB / 0.5144 GB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.5062, allocations: 9.844 kB / 0.5145 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.5188, allocations: 3.285 MB / 0.5177 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007265/0.5261, allocations: 2.454 MB / 0.5201 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.5265, allocations: 258 kB / 0.5203 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001731/0.5282, allocations: 346.4 kB / 0.5206 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.5563, allocations: 12.66 MB / 0.533 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002697/0.5566, allocations: 31.66 kB / 0.533 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001717/0.5584, allocations: 167.8 kB / 0.5332 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00605/0.5644, allocations: 3.028 MB / 0.5361 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.5913, allocations: 11.34 MB / 0.5472 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07229/0.6636, allocations: 42.35 MB / 0.5886 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/0.6735, allocations: 4.7 MB / 0.5932 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/0.6773, allocations: 2.432 MB / 0.5955 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.6786, allocations: 1.323 MB / 0.5968 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.6786, allocations: 56.5 kB / 0.5969 GB, free: 2.113 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 6.592e-06/0.6787, allocations: 0 / 0.5969 GB, free: 2.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.05221/0.7309, allocations: 19.5 MB / 0.6159 GB, free: 14.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.731, allocations: 107 kB / 0.616 GB, free: 14.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/0.7369, allocations: 3.27 MB / 0.6192 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005033/0.7374, allocations: 61.7 kB / 0.6193 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/0.7399, allocations: 3.28 MB / 0.6225 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001386/0.7413, allocations: 0.979 MB / 0.6234 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.7425, allocations: 0.5233 MB / 0.624 GB, free: 6.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.7426, allocations: 305.1 kB / 0.6242 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00444/0.747, allocations: 2.495 MB / 0.6267 GB, free: 3.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2564/1.003, allocations: 5.891 MB / 0.6324 GB, free: 140 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/1.014, allocations: 9.193 MB / 0.6414 GB, free: 135.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/1.014, allocations: 35.09 kB / 0.6414 GB, free: 135.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01859/1.033, allocations: 9.174 MB / 0.6504 GB, free: 132.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.033, allocations: 56.88 kB / 0.6505 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/1.033, allocations: 123.3 kB / 0.6506 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003247/1.036, allocations: 1.052 MB / 0.6516 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005302/1.042, allocations: 1.398 MB / 0.653 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/1.048, allocations: 5.153 MB / 0.658 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/1.054, allocations: 338.2 kB / 0.6583 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/1.056, allocations: 350.2 kB / 0.6587 GB, free: 129.3 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.00757/1.063, allocations: 2.481 MB / 0.6611 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008221/1.064, allocations: 317.5 kB / 0.6614 GB, free: 128.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.075, allocations: 5.379 MB / 0.6666 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.999e-05/1.075, allocations: 48.69 kB / 0.6667 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.075, allocations: 2.875 kB / 0.6667 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/1.075, allocations: 10.98 kB / 0.6667 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.102, allocations: 13.36 MB / 0.6797 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.102, allocations: 11.75 kB / 0.6798 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.104, allocations: 422.7 kB / 0.6802 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/1.107, allocations: 0.8942 MB / 0.681 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003508/1.108, allocations: 57.25 kB / 0.6811 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006073/1.114, allocations: 4.494 MB / 0.6855 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/1.114, allocations: 22.94 kB / 0.6855 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.125, allocations: 8.038 MB / 0.6933 GB, free: 114.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.127, allocations: 0.731 MB / 0.6941 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006895/1.128, allocations: 59.52 kB / 0.6941 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/1.13, allocations: 155.8 kB / 0.6943 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004127/1.13, allocations: 166.3 kB / 0.6944 GB, free: 113.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.13, allocations: 79.84 kB / 0.6945 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003782/1.134, allocations: 2.014 MB / 0.6965 GB, free: 112 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.134, allocations: 0 / 0.6965 GB, free: 112 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008103/1.142, allocations: 1.126 MB / 0.6976 GB, free: 110.9 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.0008759/1.143, allocations: 189.4 kB / 0.6977 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01019/1.153, allocations: 6.073 MB / 0.7037 GB, free: 105.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.153, allocations: 4 kB / 0.7037 GB, free: 105.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/1.156, allocations: 2.258 MB / 0.7059 GB, free: 103.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008448/1.165, allocations: 428.1 kB / 0.7063 GB, free: 103 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/1.189, allocations: 14.42 MB / 0.7204 GB, free: 89.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/1.193, allocations: 3.833 MB / 0.7241 GB, free: 85.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00466/1.198, allocations: 2.181 MB / 0.7262 GB, free: 82.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/1.199, allocations: 251.4 kB / 0.7265 GB, free: 82.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/1.199, allocations: 3.938 kB / 0.7265 GB, free: 82.71 MB / 494.1 MB Notification: Performance of Templates: time 0.06494/1.264, allocations: 35.7 MB / 0.7614 GB, free: 47.12 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: