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.001229/0.001228, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001104/0.001104, allocations: 177.3 kB / 15.95 MB, free: 216 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.326/1.326, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.331/0.331, allocations: 40 MB / 310.4 MB, free: 9.594 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.0006032/0.0006033, allocations: 16 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 57.96 MB / 436.8 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2789/0.3959, allocations: 40.29 MB / 477.1 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02241/0.4184, allocations: 9.609 MB / 486.7 MB, free: 23.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009935/0.4284, allocations: 194.8 kB / 486.9 MB, free: 23.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007303/0.4357, allocations: 2.021 MB / 488.9 MB, free: 22.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02011/0.4559, allocations: 5.917 MB / 494.8 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.4592, allocations: 0.506 MB / 495.3 MB, free: 19.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005936/0.4651, allocations: 2.447 MB / 497.7 MB, free: 18.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00633/0.4715, allocations: 3.562 MB / 0.4896 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.4746, allocations: 1.182 MB / 0.4907 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.479, allocations: 1.547 MB / 0.4922 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.4809, allocations: 174.8 kB / 0.4924 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.4842, allocations: 0.7673 MB / 0.4931 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003449/0.4877, allocations: 1.709 MB / 0.4948 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.4906, allocations: 0.9538 MB / 0.4957 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.5018, allocations: 6.135 MB / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5019, allocations: 0.9688 kB / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.5019, allocations: 0 / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000358/0.5023, allocations: 0 / 0.5017 GB, free: 13.03 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.01273/0.515, allocations: 4.438 MB / 0.5061 GB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5151, allocations: 8.969 kB / 0.5061 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.5294, allocations: 3.837 MB / 0.5098 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/0.5381, allocations: 2.621 MB / 0.5124 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.5385, allocations: 256.1 kB / 0.5126 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/0.5408, allocations: 342.4 kB / 0.513 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/0.5662, allocations: 12.73 MB / 0.5254 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/0.5664, allocations: 35.72 kB / 0.5254 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005835/0.567, allocations: 163.8 kB / 0.5256 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005201/0.5722, allocations: 3.032 MB / 0.5285 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0248/0.597, allocations: 11.4 MB / 0.5397 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07044/0.6675, allocations: 42.4 MB / 0.5811 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.6778, allocations: 4.703 MB / 0.5857 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/0.6793, allocations: 1.323 MB / 0.587 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.6794, allocations: 56.56 kB / 0.587 GB, free: 11.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 7.494e-06/0.6795, allocations: 4 kB / 0.587 GB, free: 11.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=268): time 0.05366/0.7331, allocations: 20.05 MB / 0.6066 GB, free: 7.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.7333, allocations: 107.1 kB / 0.6067 GB, free: 6.988 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/0.7391, allocations: 3.373 MB / 0.61 GB, free: 3.609 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005353/0.7397, allocations: 61.64 kB / 0.61 GB, free: 3.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002702/0.7424, allocations: 3.276 MB / 0.6132 GB, free: 224 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/0.744, allocations: 0.9753 MB / 0.6142 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/0.7447, allocations: 116 kB / 0.6143 GB, free: 15.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0006138/0.7453, allocations: 0.5781 MB / 0.6149 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/0.7499, allocations: 2.46 MB / 0.6173 GB, free: 12.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007896/0.7578, allocations: 5.837 MB / 0.623 GB, free: 4.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006579/0.7644, allocations: 3.774 MB / 0.6267 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.7646, allocations: 36 kB / 0.6267 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.2317/0.9963, allocations: 9.098 MB / 0.6356 GB, free: 139.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.9964, allocations: 55.88 kB / 0.6356 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/0.9965, allocations: 118.2 kB / 0.6357 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002907/0.9995, allocations: 1.073 MB / 0.6368 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.004, allocations: 1.391 MB / 0.6382 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/1.01, allocations: 5.286 MB / 0.6433 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.015, allocations: 333.7 kB / 0.6436 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.016, allocations: 345.1 kB / 0.644 GB, free: 137.5 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 (747): * Single equations (assignments): 740 * 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.005548/1.021, allocations: 2.484 MB / 0.6464 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/1.022, allocations: 324.5 kB / 0.6467 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008123/1.03, allocations: 5.363 MB / 0.6519 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.328e-05/1.03, allocations: 48.48 kB / 0.652 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.03, allocations: 2.938 kB / 0.652 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/1.03, allocations: 10.31 kB / 0.652 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/1.056, allocations: 13.34 MB / 0.665 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/1.056, allocations: 10.78 kB / 0.665 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.058, allocations: 428.8 kB / 0.6654 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/1.061, allocations: 0.8891 MB / 0.6663 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/1.062, allocations: 56.22 kB / 0.6664 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.067, allocations: 4.626 MB / 0.6709 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/1.067, allocations: 19.22 kB / 0.6709 GB, free: 127.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.079, allocations: 9.121 MB / 0.6798 GB, free: 123 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/1.082, allocations: 0.7352 MB / 0.6805 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008926/1.083, allocations: 51.72 kB / 0.6806 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.085, allocations: 158.8 kB / 0.6807 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.086, allocations: 163.7 kB / 0.6809 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.086, allocations: 79.77 kB / 0.681 GB, free: 122.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003745/1.089, allocations: 2.071 MB / 0.683 GB, free: 121.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/1.089, allocations: 6.219 kB / 0.683 GB, free: 121.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008868/1.098, allocations: 1.135 MB / 0.6841 GB, free: 120.4 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.0009603/1.099, allocations: 223.6 kB / 0.6843 GB, free: 120.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009063/1.108, allocations: 6.031 MB / 0.6902 GB, free: 114.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.108, allocations: 0 / 0.6902 GB, free: 114.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/1.111, allocations: 2.253 MB / 0.6924 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.114, allocations: 388.4 kB / 0.6928 GB, free: 112.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.136, allocations: 13.89 MB / 0.7063 GB, free: 99.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005009/1.141, allocations: 3.932 MB / 0.7102 GB, free: 95.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005212/1.146, allocations: 2.185 MB / 0.7123 GB, free: 93.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009699/1.147, allocations: 239.4 kB / 0.7125 GB, free: 93.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.462e-06/1.147, allocations: 6.672 kB / 0.7125 GB, free: 93.22 MB / 494.1 MB Notification: Performance of Templates: time 0.06576/1.213, allocations: 35.48 MB / 0.7472 GB, free: 57.84 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: