Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000846/0.0008459, allocations: 98.03 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.005699/0.005699, allocations: 168.9 kB / 16.26 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.715/1.715, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3687/0.3687, allocations: 40 MB / 310.7 MB, free: 9.648 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.0005913/0.0005913, allocations: 20 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1468, allocations: 57.97 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.3021/0.4489, allocations: 29.11 MB / 466.5 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.4641, allocations: 6.809 MB / 473.3 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.4695, allocations: 117.8 kB / 473.5 MB, free: 32.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.4707, allocations: 444.5 kB / 473.9 MB, free: 32.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003758/0.4745, allocations: 1.668 MB / 475.6 MB, free: 32.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.4755, allocations: 462.1 kB / 476 MB, free: 32.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005407/0.4809, allocations: 5.122 MB / 481.1 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003247/0.4842, allocations: 2.464 MB / 483.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.4856, allocations: 0.9869 MB / 484.6 MB, free: 29.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.4877, allocations: 1.73 MB / 486.3 MB, free: 28.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.4882, allocations: 133.7 kB / 486.4 MB, free: 28.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.49, allocations: 0.908 MB / 487.4 MB, free: 28.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001268/0.4913, allocations: 1.549 MB / 488.9 MB, free: 28.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.4928, allocations: 1.845 MB / 490.7 MB, free: 26.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008162/0.501, allocations: 5.869 MB / 496.6 MB, free: 25.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.501, allocations: 0 / 496.6 MB, free: 25.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.501, allocations: 0 / 496.6 MB, free: 25.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003025/0.5013, allocations: 0 / 496.6 MB, free: 25.2 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.009692/0.511, allocations: 3.477 MB / 0.4884 GB, free: 23.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5111, allocations: 8.469 kB / 0.4884 GB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.5225, allocations: 3.169 MB / 0.4915 GB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.527, allocations: 1.955 MB / 0.4934 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.5272, allocations: 196.1 kB / 0.4936 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007272/0.5279, allocations: 250.5 kB / 0.4938 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.5445, allocations: 10.71 MB / 0.5043 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-05/0.5446, allocations: 26.28 kB / 0.5043 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/0.545, allocations: 116.8 kB / 0.5044 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004262/0.5493, allocations: 2.646 MB / 0.507 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.5681, allocations: 10.03 MB / 0.5168 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05234/0.6205, allocations: 35.3 MB / 0.5513 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009554/0.6301, allocations: 5.184 MB / 0.5563 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.6332, allocations: 2.295 MB / 0.5586 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/0.6347, allocations: 1.88 MB / 0.5604 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.6348, allocations: 52.56 kB / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 4.949e-06/0.6348, allocations: 3.938 kB / 0.5605 GB, free: 7.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.0331/0.6679, allocations: 14.01 MB / 0.5741 GB, free: 9.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.668, allocations: 73.34 kB / 0.5742 GB, free: 9.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/0.6723, allocations: 2.672 MB / 0.5768 GB, free: 6.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003627/0.6727, allocations: 61.69 kB / 0.5769 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.6745, allocations: 2.705 MB / 0.5795 GB, free: 3.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.6756, allocations: 0.8519 MB / 0.5803 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006678/0.6763, allocations: 461.8 kB / 0.5808 GB, free: 2.605 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6764, allocations: 305.1 kB / 0.5811 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.6799, allocations: 2.216 MB / 0.5832 GB, free: 84 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/0.6857, allocations: 5.138 MB / 0.5883 GB, free: 9.512 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.6982, allocations: 8.066 MB / 0.5961 GB, free: 20 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/0.6984, allocations: 28.05 kB / 0.5962 GB, free: 15.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.02488/0.7233, allocations: 7.949 MB / 0.6039 GB, free: 8.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.7234, allocations: 48 kB / 0.604 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.7236, allocations: 104 kB / 0.6041 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.7272, allocations: 0.8005 MB / 0.6049 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006721/0.7339, allocations: 1.212 MB / 0.606 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.7425, allocations: 4.188 MB / 0.6101 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006069/0.7486, allocations: 299.8 kB / 0.6104 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/0.7501, allocations: 309.2 kB / 0.6107 GB, free: 0.9414 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (644): * Single equations (assignments): 637 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005901/0.756, allocations: 2.055 MB / 0.6127 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/0.7568, allocations: 268.5 kB / 0.613 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.767, allocations: 4.726 MB / 0.6176 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.7671, allocations: 48.08 kB / 0.6176 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.7671, allocations: 7.938 kB / 0.6176 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.7672, allocations: 11.95 kB / 0.6176 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3148/1.082, allocations: 10.61 MB / 0.628 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/1.082, allocations: 5.719 kB / 0.628 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/1.084, allocations: 362 kB / 0.6284 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.086, allocations: 0.6591 MB / 0.629 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/1.087, allocations: 43.3 kB / 0.629 GB, free: 142.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004558/1.091, allocations: 3.652 MB / 0.6326 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.091, allocations: 9.625 kB / 0.6326 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/1.103, allocations: 7.135 MB / 0.6396 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/1.105, allocations: 0.6537 MB / 0.6402 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006896/1.106, allocations: 40.53 kB / 0.6403 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.107, allocations: 143.6 kB / 0.6404 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/1.108, allocations: 131.5 kB / 0.6405 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.108, allocations: 64.41 kB / 0.6406 GB, free: 140.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00274/1.111, allocations: 1.65 MB / 0.6422 GB, free: 139.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/1.111, allocations: 0.5625 kB / 0.6422 GB, free: 139.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005853/1.116, allocations: 0.9443 MB / 0.6431 GB, free: 139.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.0006856/1.117, allocations: 173.7 kB / 0.6433 GB, free: 139.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0089/1.126, allocations: 5.389 MB / 0.6486 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/1.126, allocations: 3.219 kB / 0.6486 GB, free: 137.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/1.129, allocations: 2.014 MB / 0.6505 GB, free: 137.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004715/1.134, allocations: 345.6 kB / 0.6509 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.155, allocations: 11.75 MB / 0.6623 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005009/1.16, allocations: 3.227 MB / 0.6655 GB, free: 129.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005701/1.166, allocations: 1.969 MB / 0.6674 GB, free: 129.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007947/1.167, allocations: 206.8 kB / 0.6676 GB, free: 129.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/1.167, allocations: 0 / 0.6676 GB, free: 129.4 MB / 494.1 MB Notification: Performance of Templates: time 0.05658/1.223, allocations: 29.44 MB / 0.6964 GB, free: 112.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) Environment - environmentSimulation: