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.008489/0.008489, allocations: 99.75 kB / 15.73 MB, free: 5.547 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.001418/0.001418, allocations: 188.3 kB / 16.67 MB, free: 5.492 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.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.246 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.3126/0.3126, allocations: 38 MB / 307.9 MB, free: 10.45 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.001935/0.001935, allocations: 71.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2981, allocations: 56.47 MB / 489.5 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.009631/0.3077, allocations: 10.28 MB / 499.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00766/0.3154, allocations: 3.783 MB / 0.4917 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.3175, allocations: 58.88 kB / 0.4918 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.321, allocations: 1.956 MB / 0.4937 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.3257, allocations: 1.654 MB / 0.4953 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.3272, allocations: 0.6089 MB / 0.4959 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.3322, allocations: 3.344 MB / 0.4992 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.3353, allocations: 2.573 MB / 0.5017 GB, free: 5.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.3376, allocations: 1.25 MB / 0.5029 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.3395, allocations: 1.684 MB / 0.5045 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005705/0.3401, allocations: 253.3 kB / 0.5048 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.342, allocations: 1.026 MB / 0.5058 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.3432, allocations: 1.578 MB / 0.5073 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.3446, allocations: 1.831 MB / 0.5091 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006494/0.3511, allocations: 5.836 MB / 0.5148 GB, free: 12.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3512, allocations: 1.062 kB / 0.5148 GB, free: 12.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3512, allocations: 0 / 0.5148 GB, free: 12.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001601/0.3513, allocations: 4 kB / 0.5148 GB, free: 12.81 MB / 398.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.009233/0.3606, allocations: 4.021 MB / 0.5188 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3606, allocations: 11.89 kB / 0.5188 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.3671, allocations: 1.774 MB / 0.5205 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/0.372, allocations: 2.006 MB / 0.5225 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3721, allocations: 193.2 kB / 0.5226 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005888/0.3727, allocations: 255.7 kB / 0.5229 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3875, allocations: 8.432 MB / 0.5311 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-05/0.3876, allocations: 51.59 kB / 0.5312 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.388, allocations: 123.9 kB / 0.5313 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.3906, allocations: 1.695 MB / 0.5329 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.4033, allocations: 7.106 MB / 0.5399 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03774/0.4411, allocations: 34.02 MB / 0.5731 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007115/0.4482, allocations: 3.271 MB / 0.5763 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.4501, allocations: 1.458 MB / 0.5777 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006923/0.457, allocations: 4.373 MB / 0.582 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.4571, allocations: 47.12 kB / 0.582 GB, free: 6.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 2.635e-06/0.4571, allocations: 0 / 0.582 GB, free: 6.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.02764/0.4848, allocations: 11.55 MB / 0.5933 GB, free: 11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.4849, allocations: 166.9 kB / 0.5935 GB, free: 10.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.4895, allocations: 3.733 MB / 0.5971 GB, free: 7.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.4897, allocations: 45.7 kB / 0.5972 GB, free: 7.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.4915, allocations: 2.748 MB / 0.5999 GB, free: 4.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/0.492, allocations: 0.5209 MB / 0.6004 GB, free: 3.703 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/0.4933, allocations: 1.079 MB / 0.6014 GB, free: 2.613 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.4934, allocations: 309 kB / 0.6017 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.4958, allocations: 1.709 MB / 0.6034 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004599/0.5004, allocations: 5.128 MB / 0.6084 GB, free: 9.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008163/0.5086, allocations: 7.411 MB / 0.6156 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/0.5087, allocations: 36 kB / 0.6157 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01108/0.5197, allocations: 6.72 MB / 0.6222 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.5199, allocations: 60 kB / 0.6223 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/0.52, allocations: 123.9 kB / 0.6224 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.5206, allocations: 316.7 kB / 0.6227 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004119/0.5247, allocations: 1.248 MB / 0.6239 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.5277, allocations: 2.493 MB / 0.6263 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.5318, allocations: 291.5 kB / 0.6266 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009374/0.5327, allocations: 332 kB / 0.6269 GB, free: 4.863 MB / 0.4981 GB 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 (668): * Single equations (assignments): 664 * Array equations: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002945/0.5357, allocations: 1.795 MB / 0.6287 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/0.5363, allocations: 315.9 kB / 0.629 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5408, allocations: 2.363 MB / 0.6313 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.5408, allocations: 19.91 kB / 0.6313 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5408, allocations: 0 / 0.6313 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.5409, allocations: 11.92 kB / 0.6313 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2199/0.7607, allocations: 5.908 MB / 0.6371 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.7608, allocations: 1.203 kB / 0.6371 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.7616, allocations: 168.9 kB / 0.6373 GB, free: 125.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.7639, allocations: 0.7174 MB / 0.638 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.764, allocations: 24.98 kB / 0.638 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00566/0.7697, allocations: 4.815 MB / 0.6427 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7697, allocations: 8.938 kB / 0.6427 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/0.7763, allocations: 4.319 MB / 0.6469 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.7777, allocations: 0.5233 MB / 0.6474 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.778, allocations: 17.22 kB / 0.6474 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.7791, allocations: 75.95 kB / 0.6475 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.7793, allocations: 69.81 kB / 0.6476 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.7794, allocations: 34.95 kB / 0.6476 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004876/0.7843, allocations: 2.33 MB / 0.6499 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.383e-06/0.7843, allocations: 0 / 0.6499 GB, free: 120.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004983/0.7893, allocations: 0.8268 MB / 0.6507 GB, free: 120 MB / 0.4981 GB 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 (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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004372/0.7898, allocations: 150 kB / 0.6508 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007083/0.7969, allocations: 4.054 MB / 0.6548 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7969, allocations: 1.25 kB / 0.6548 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.7984, allocations: 1.111 MB / 0.6559 GB, free: 118 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.801, allocations: 394.6 kB / 0.6563 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.8135, allocations: 7.278 MB / 0.6634 GB, free: 114.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.816, allocations: 2.791 MB / 0.6661 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003238/0.8193, allocations: 1.655 MB / 0.6677 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.8199, allocations: 214.1 kB / 0.6679 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.71e-07/0.8199, allocations: 0 / 0.6679 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.0461/0.866, allocations: 27.79 MB / 0.6951 GB, free: 89.53 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (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)