Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 99.55 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.001531/0.001531, allocations: 177.3 kB / 15.94 MB, free: 228 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.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3799/0.3799, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.1. 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.0005585/0.0005586, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 57.52 MB / 433.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2511/0.3862, allocations: 29.7 MB / 463.6 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.4058, allocations: 7.713 MB / 471.3 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00698/0.4129, allocations: 147.6 kB / 471.5 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004928/0.4179, allocations: 1.44 MB / 472.9 MB, free: 31.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01567/0.4336, allocations: 4.347 MB / 477.3 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.436, allocations: 0.4943 MB / 477.8 MB, free: 31.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004013/0.4401, allocations: 1.899 MB / 479.7 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004465/0.4445, allocations: 2.941 MB / 482.6 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001897/0.4465, allocations: 0.8649 MB / 483.5 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.4485, allocations: 1.13 MB / 484.6 MB, free: 29.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008371/0.4494, allocations: 112.1 kB / 484.7 MB, free: 29.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.4519, allocations: 0.7759 MB / 485.5 MB, free: 29.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.4539, allocations: 1.299 MB / 486.8 MB, free: 28.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.4556, allocations: 0.7013 MB / 487.5 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006528/0.4622, allocations: 4.451 MB / 491.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4622, allocations: 0 / 491.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4622, allocations: 0 / 491.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002585/0.4625, allocations: 0 / 491.9 MB, free: 27.48 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00909/0.4716, allocations: 3.423 MB / 495.4 MB, free: 25.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4717, allocations: 9.547 kB / 495.4 MB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008469/0.4801, allocations: 2.106 MB / 497.5 MB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.4864, allocations: 2.148 MB / 499.6 MB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.4868, allocations: 192.4 kB / 499.8 MB, free: 24.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.4885, allocations: 256.5 kB / 0.4883 GB, free: 23.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01953/0.5081, allocations: 8.498 MB / 0.4966 GB, free: 19.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002169/0.5083, allocations: 41 kB / 0.4967 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/0.5095, allocations: 127.2 kB / 0.4968 GB, free: 19.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003275/0.5128, allocations: 1.695 MB / 0.4985 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.5296, allocations: 7.16 MB / 0.5054 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/0.575, allocations: 34.24 MB / 0.5389 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007523/0.5826, allocations: 3.281 MB / 0.5421 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008317/0.5909, allocations: 4.412 MB / 0.5464 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.485e-05/0.591, allocations: 51.05 kB / 0.5464 GB, free: 6.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 4.859e-06/0.591, allocations: 4 kB / 0.5465 GB, free: 6.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.03074/0.6218, allocations: 11.83 MB / 0.558 GB, free: 10.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.6219, allocations: 170.8 kB / 0.5582 GB, free: 10.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00543/0.6274, allocations: 3.844 MB / 0.5619 GB, free: 6.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.6277, allocations: 45.7 kB / 0.562 GB, free: 6.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002327/0.6301, allocations: 2.76 MB / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007346/0.6308, allocations: 0.5171 MB / 0.5652 GB, free: 3.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.631, allocations: 104 kB / 0.5653 GB, free: 3.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003575/0.6314, allocations: 0.5369 MB / 0.5658 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.6339, allocations: 1.673 MB / 0.5674 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/0.6395, allocations: 5.076 MB / 0.5724 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/0.6449, allocations: 2.863 MB / 0.5752 GB, free: 7.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.748e-05/0.6451, allocations: 32 kB / 0.5752 GB, free: 7.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01259/0.6577, allocations: 6.664 MB / 0.5817 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.6578, allocations: 56 kB / 0.5818 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000205/0.658, allocations: 124 kB / 0.5819 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/0.6588, allocations: 337.2 kB / 0.5822 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004379/0.6632, allocations: 1.244 MB / 0.5834 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.666, allocations: 2.314 MB / 0.5857 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/0.6705, allocations: 299.5 kB / 0.586 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009095/0.6714, allocations: 328 kB / 0.5863 GB, free: 11.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004015/0.6755, allocations: 1.796 MB / 0.588 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007937/0.6763, allocations: 312 kB / 0.5883 GB, free: 9.637 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.6816, allocations: 2.363 MB / 0.5906 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/0.6817, allocations: 19.95 kB / 0.5907 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.6817, allocations: 8.125 kB / 0.5907 GB, free: 7.234 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.6817, allocations: 3.984 kB / 0.5907 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.6964, allocations: 5.935 MB / 0.5965 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.6965, allocations: 4 kB / 0.5965 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009227/0.6974, allocations: 167.7 kB / 0.5966 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.6997, allocations: 0.7186 MB / 0.5973 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.6998, allocations: 20 kB / 0.5973 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006113/0.7059, allocations: 4.57 MB / 0.6018 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.706, allocations: 7.969 kB / 0.6018 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/0.7134, allocations: 4.438 MB / 0.6061 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.7153, allocations: 0.5476 MB / 0.6067 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000846/0.7162, allocations: 16 kB / 0.6067 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.7178, allocations: 71.91 kB / 0.6068 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.7181, allocations: 72.5 kB / 0.6068 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/0.7182, allocations: 32 kB / 0.6069 GB, free: 6.344 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004891/0.7231, allocations: 2.421 MB / 0.6092 GB, free: 3.938 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7231, allocations: 0 / 0.6092 GB, free: 3.938 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005152/0.7283, allocations: 0.8359 MB / 0.61 GB, free: 3.102 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004895/0.7288, allocations: 167 kB / 0.6102 GB, free: 2.93 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00678/0.7356, allocations: 3.987 MB / 0.6141 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7356, allocations: 0 / 0.6141 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.7373, allocations: 1.116 MB / 0.6152 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.7396, allocations: 358.5 kB / 0.6155 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.7577, allocations: 8.61 MB / 0.6239 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/0.7628, allocations: 2.859 MB / 0.6267 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005177/0.768, allocations: 1.669 MB / 0.6284 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.7691, allocations: 211.4 kB / 0.6286 GB, free: 76 kB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7692, allocations: 0 / 0.6286 GB, free: 76 kB / 494.1 MB Notification: Performance of Templates: time 0.2631/1.032, allocations: 29.56 MB / 0.6574 GB, free: 139.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) Environment - environmentSimulation: