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.0009566/0.0009567, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001205/0.001205, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3586/0.3586, allocations: 40 MB / 310.4 MB, free: 9.645 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.0005684/0.0005684, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 57.96 MB / 436.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2942/0.4261, allocations: 42.63 MB / 479.4 MB, free: 28.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.4507, allocations: 9.218 MB / 488.6 MB, free: 22.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/0.4616, allocations: 192.2 kB / 488.8 MB, free: 22.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008211/0.4698, allocations: 2.085 MB / 490.9 MB, free: 21.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.4874, allocations: 6.198 MB / 497.1 MB, free: 19.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.4906, allocations: 0.5289 MB / 497.6 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.4973, allocations: 4.866 MB / 0.4907 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007371/0.5047, allocations: 3.586 MB / 0.4942 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003673/0.5084, allocations: 1.353 MB / 0.4956 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.5136, allocations: 2.139 MB / 0.4976 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001377/0.515, allocations: 179.1 kB / 0.4978 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.5177, allocations: 0.7782 MB / 0.4986 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002536/0.5202, allocations: 1.839 MB / 0.5004 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.5217, allocations: 0.9536 MB / 0.5013 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.5305, allocations: 6.128 MB / 0.5073 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5306, allocations: 0 / 0.5073 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5306, allocations: 1.156 kB / 0.5073 GB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000336/0.5309, allocations: 3.938 kB / 0.5073 GB, free: 9.922 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.01324/0.5442, allocations: 4.358 MB / 0.5115 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5442, allocations: 9.281 kB / 0.5116 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.5555, allocations: 3.285 MB / 0.5148 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006787/0.5623, allocations: 2.412 MB / 0.5171 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.5626, allocations: 261.1 kB / 0.5174 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00094/0.5635, allocations: 342.7 kB / 0.5177 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02431/0.5878, allocations: 12.64 MB / 0.53 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.5881, allocations: 35.59 kB / 0.5301 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006114/0.5887, allocations: 163.8 kB / 0.5302 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0055/0.5942, allocations: 3.024 MB / 0.5332 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02608/0.6203, allocations: 11.29 MB / 0.5442 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07363/0.694, allocations: 42.31 MB / 0.5855 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009782/0.7038, allocations: 4.699 MB / 0.5901 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/0.7074, allocations: 2.424 MB / 0.5925 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.7087, allocations: 1.323 MB / 0.5938 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.7087, allocations: 60.48 kB / 0.5938 GB, free: 4.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 5.59e-06/0.7087, allocations: 0 / 0.5938 GB, free: 4.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.0478/0.7566, allocations: 19.46 MB / 0.6128 GB, free: 1.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.7567, allocations: 103.1 kB / 0.6129 GB, free: 1.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00592/0.7626, allocations: 3.247 MB / 0.6161 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008143/0.7635, allocations: 65.69 kB / 0.6162 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/0.7663, allocations: 3.276 MB / 0.6194 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/0.7679, allocations: 0.9751 MB / 0.6203 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.7682, allocations: 120 kB / 0.6204 GB, free: 9.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004392/0.7687, allocations: 0.5744 MB / 0.621 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.7728, allocations: 2.472 MB / 0.6234 GB, free: 6.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2987/1.072, allocations: 5.863 MB / 0.6291 GB, free: 139.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/1.078, allocations: 3.792 MB / 0.6328 GB, free: 139 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.879e-05/1.078, allocations: 32.09 kB / 0.6329 GB, free: 139 MB / 494.1 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01742/1.095, allocations: 9.128 MB / 0.6418 GB, free: 137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.086e-05/1.096, allocations: 57.06 kB / 0.6418 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/1.096, allocations: 119.8 kB / 0.642 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.099, allocations: 1.07 MB / 0.643 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.103, allocations: 1.396 MB / 0.6444 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/1.11, allocations: 5.143 MB / 0.6494 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005287/1.115, allocations: 331.5 kB / 0.6497 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/1.116, allocations: 352.3 kB / 0.65 GB, free: 134 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005551/1.122, allocations: 2.485 MB / 0.6525 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007338/1.122, allocations: 320.8 kB / 0.6528 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009586/1.132, allocations: 5.363 MB / 0.658 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/1.132, allocations: 48.22 kB / 0.6581 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.132, allocations: 6.312 kB / 0.6581 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/1.132, allocations: 15.19 kB / 0.6581 GB, free: 131.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.158, allocations: 13.33 MB / 0.6711 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.158, allocations: 11.81 kB / 0.6711 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.16, allocations: 423.7 kB / 0.6715 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002543/1.162, allocations: 0.8931 MB / 0.6724 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003337/1.163, allocations: 54.11 kB / 0.6724 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006671/1.169, allocations: 4.493 MB / 0.6768 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/1.169, allocations: 22.78 kB / 0.6768 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/1.181, allocations: 8.009 MB / 0.6847 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.183, allocations: 0.733 MB / 0.6854 GB, free: 120.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/1.184, allocations: 51.89 kB / 0.6854 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.185, allocations: 149.3 kB / 0.6856 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.186, allocations: 166.3 kB / 0.6857 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.186, allocations: 77.78 kB / 0.6858 GB, free: 119.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003085/1.189, allocations: 1.979 MB / 0.6877 GB, free: 118.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.189, allocations: 4 kB / 0.6877 GB, free: 118.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005418/1.194, allocations: 1.118 MB / 0.6888 GB, free: 117.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004833/1.195, allocations: 200.5 kB / 0.689 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009591/1.205, allocations: 6.04 MB / 0.6949 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.205, allocations: 4 kB / 0.6949 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.208, allocations: 2.249 MB / 0.6971 GB, free: 109.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.211, allocations: 434.1 kB / 0.6975 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.235, allocations: 13.92 MB / 0.7111 GB, free: 96.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00531/1.241, allocations: 3.83 MB / 0.7149 GB, free: 93.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004938/1.246, allocations: 2.185 MB / 0.717 GB, free: 91.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/1.247, allocations: 239.4 kB / 0.7172 GB, free: 90.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.154e-06/1.247, allocations: 0 / 0.7172 GB, free: 90.79 MB / 494.1 MB Notification: Performance of Templates: time 0.06069/1.307, allocations: 34.91 MB / 0.7513 GB, free: 55.98 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: