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.0009297/0.0009296, 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.0008552/0.0008553, 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.683/1.683, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4178/0.4178, allocations: 40 MB / 310.4 MB, free: 9.941 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.0005613/0.0005614, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1494, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.293/0.4426, allocations: 27.12 MB / 463.9 MB, free: 33.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01685/0.4595, allocations: 6.449 MB / 470.4 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005984/0.4655, allocations: 118.5 kB / 470.5 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004309/0.4699, allocations: 1.294 MB / 471.8 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.4807, allocations: 4.008 MB / 475.8 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.4826, allocations: 423.9 kB / 476.2 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004278/0.4869, allocations: 3.941 MB / 480.1 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.4898, allocations: 2.278 MB / 482.4 MB, free: 30.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.4914, allocations: 1.05 MB / 483.5 MB, free: 29.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.4934, allocations: 1.699 MB / 485.2 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.4939, allocations: 133.6 kB / 485.3 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.4954, allocations: 0.7534 MB / 486.1 MB, free: 29.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.4966, allocations: 1.498 MB / 487.6 MB, free: 28.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007381/0.4973, allocations: 0.7607 MB / 488.3 MB, free: 28.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006357/0.5037, allocations: 4.804 MB / 493.1 MB, free: 27.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.5037, allocations: 0.7031 kB / 493.1 MB, free: 27.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5038, allocations: 0 / 493.1 MB, free: 27.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002242/0.504, allocations: 1.156 kB / 493.1 MB, free: 27.47 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.009169/0.5132, allocations: 3.526 MB / 496.6 MB, free: 25.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.5133, allocations: 8.688 kB / 496.7 MB, free: 25.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.5255, allocations: 3.166 MB / 499.8 MB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.5316, allocations: 1.924 MB / 0.49 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.5319, allocations: 195.6 kB / 0.4902 GB, free: 23.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.5334, allocations: 254.6 kB / 0.4904 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/0.5567, allocations: 10.69 MB / 0.5009 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.5568, allocations: 23.31 kB / 0.5009 GB, free: 17.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.5572, allocations: 124.7 kB / 0.501 GB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004105/0.5613, allocations: 2.647 MB / 0.5036 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.5785, allocations: 9.986 MB / 0.5133 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05285/0.6314, allocations: 35.28 MB / 0.5478 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/0.6409, allocations: 5.173 MB / 0.5528 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.6441, allocations: 2.287 MB / 0.5551 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.6457, allocations: 1.884 MB / 0.5569 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.6458, allocations: 48.56 kB / 0.557 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 7.353e-06/0.6458, allocations: 3.984 kB / 0.557 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03182/0.6776, allocations: 13.98 MB / 0.5706 GB, free: 13.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.6777, allocations: 73.41 kB / 0.5707 GB, free: 12.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003904/0.6816, allocations: 2.66 MB / 0.5733 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003519/0.682, allocations: 53.7 kB / 0.5733 GB, free: 10.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.6837, allocations: 2.705 MB / 0.576 GB, free: 7.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008721/0.6846, allocations: 0.8479 MB / 0.5768 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6848, allocations: 104 kB / 0.5769 GB, free: 6.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003083/0.6851, allocations: 0.5449 MB / 0.5774 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.6882, allocations: 2.2 MB / 0.5796 GB, free: 3.723 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004833/0.693, allocations: 5.111 MB / 0.5846 GB, free: 13.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004708/0.6977, allocations: 3.342 MB / 0.5878 GB, free: 9.832 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.558e-05/0.6978, allocations: 31.94 kB / 0.5879 GB, free: 9.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01497/0.7128, allocations: 7.915 MB / 0.5956 GB, free: 1.875 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-05/0.7129, allocations: 48 kB / 0.5956 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.713, allocations: 104 kB / 0.5957 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.7153, allocations: 0.8045 MB / 0.5965 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003923/0.7192, allocations: 1.209 MB / 0.5977 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/0.7248, allocations: 4.183 MB / 0.6018 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/0.7285, allocations: 307.8 kB / 0.6021 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008165/0.7293, allocations: 312 kB / 0.6024 GB, free: 10.78 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 (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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004468/0.7338, allocations: 2.055 MB / 0.6044 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/0.7344, allocations: 260.5 kB / 0.6046 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008286/0.7427, allocations: 4.726 MB / 0.6092 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/0.7427, allocations: 43.98 kB / 0.6093 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.7428, allocations: 4 kB / 0.6093 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/0.7428, allocations: 7.969 kB / 0.6093 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.761, allocations: 10.58 MB / 0.6196 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.7611, allocations: 8 kB / 0.6196 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.7626, allocations: 363.4 kB / 0.62 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.7646, allocations: 0.653 MB / 0.6206 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/0.7648, allocations: 51.89 kB / 0.6207 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004996/0.7698, allocations: 3.662 MB / 0.6242 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.7699, allocations: 7.938 kB / 0.6243 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2865/1.056, allocations: 7.111 MB / 0.6312 GB, free: 142 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.058, allocations: 0.6528 MB / 0.6318 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000455/1.059, allocations: 43.97 kB / 0.6319 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/1.06, allocations: 142.1 kB / 0.632 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/1.06, allocations: 126.6 kB / 0.6321 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.06, allocations: 68.69 kB / 0.6322 GB, free: 141.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002838/1.063, allocations: 1.615 MB / 0.6338 GB, free: 141.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.063, allocations: 0 / 0.6338 GB, free: 141.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005564/1.069, allocations: 0.9413 MB / 0.6347 GB, free: 141.8 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 (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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005417/1.069, allocations: 179.3 kB / 0.6349 GB, free: 141.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008447/1.078, allocations: 5.365 MB / 0.6401 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.078, allocations: 0 / 0.6401 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002664/1.08, allocations: 2.01 MB / 0.6421 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.083, allocations: 340.6 kB / 0.6424 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.105, allocations: 11.35 MB / 0.6535 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004912/1.11, allocations: 3.23 MB / 0.6566 GB, free: 133.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005609/1.115, allocations: 1.973 MB / 0.6586 GB, free: 133.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009419/1.116, allocations: 198.3 kB / 0.6587 GB, free: 133.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.463e-06/1.116, allocations: 4 kB / 0.6588 GB, free: 133.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05924/1.176, allocations: 28.77 MB / 0.6869 GB, free: 123 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: