Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002156/0.002156, allocations: 182.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.522/1.522, allocations: 194.3 MB / 207.5 MB, free: 3.441 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 116.7 kB / 252.6 MB, free: 4.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2122/0.2122, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.172e-05, allocations: 7.984 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.5997, allocations: 100.2 MB / 0.5423 GB, free: 7.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.6, allocations: 74.34 kB / 0.5424 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1826/0.7826, allocations: 71.85 MB / 0.6125 GB, free: 7.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7826, allocations: 4 kB / 0.6125 GB, free: 7.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001411/0.7828, allocations: 64 kB / 0.6126 GB, free: 7.395 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008863/0.7917, allocations: 3.361 MB / 0.6159 GB, free: 3.973 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7917, allocations: 8.031 kB / 0.6159 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009259/0.801, allocations: 2.082 MB / 0.6179 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.8111, allocations: 4.065 MB / 0.6219 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.8114, allocations: 262.8 kB / 0.6222 GB, free: 13.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.8126, allocations: 347.8 kB / 0.6225 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.8298, allocations: 8.802 MB / 0.6311 GB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.83, allocations: 55.47 kB / 0.6311 GB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005256/0.8305, allocations: 175.9 kB / 0.6313 GB, free: 3.125 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001195/0.8317, allocations: 0.8682 MB / 0.6321 GB, free: 2.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.8457, allocations: 7.059 MB / 0.639 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3204/1.166, allocations: 42.58 MB / 0.6806 GB, free: 86.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.177, allocations: 3.164 MB / 0.6837 GB, free: 85.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/1.179, allocations: 1.414 MB / 0.6851 GB, free: 85.87 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007131/1.186, allocations: 4.1 MB / 0.6891 GB, free: 84.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.186, allocations: 45.72 kB / 0.6891 GB, free: 84.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 4.078e-06/1.186, allocations: 0 / 0.6891 GB, free: 84.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02301/1.209, allocations: 9.401 MB / 0.6983 GB, free: 81.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/1.209, allocations: 169.5 kB / 0.6985 GB, free: 81.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/1.214, allocations: 3.27 MB / 0.7017 GB, free: 81.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000303/1.214, allocations: 45.91 kB / 0.7017 GB, free: 81.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.216, allocations: 2.736 MB / 0.7044 GB, free: 79.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.217, allocations: 0.5023 MB / 0.7049 GB, free: 79.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/1.217, allocations: 100.9 kB / 0.705 GB, free: 79.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/1.217, allocations: 0.5234 MB / 0.7055 GB, free: 79.37 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/1.219, allocations: 1.629 MB / 0.7071 GB, free: 79.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/1.223, allocations: 5.024 MB / 0.712 GB, free: 74.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/1.226, allocations: 2.849 MB / 0.7148 GB, free: 74.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.288e-05/1.227, allocations: 34.09 kB / 0.7148 GB, free: 74.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01098/1.238, allocations: 6.547 MB / 0.7212 GB, free: 73.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/1.238, allocations: 54.97 kB / 0.7212 GB, free: 73.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/1.238, allocations: 121.2 kB / 0.7214 GB, free: 73.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006762/1.239, allocations: 346.8 kB / 0.7217 GB, free: 73.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/1.242, allocations: 1.271 MB / 0.7229 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.244, allocations: 2.334 MB / 0.7252 GB, free: 72.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.249, allocations: 293.4 kB / 0.7255 GB, free: 71.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008538/1.25, allocations: 329.8 kB / 0.7258 GB, free: 71.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (656): * Single equations (assignments): 652 * 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.001278/1.251, allocations: 0.5182 MB / 0.7263 GB, free: 71.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008228/1.252, allocations: 304.5 kB / 0.7266 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.257, allocations: 2.321 MB / 0.7289 GB, free: 70.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/1.257, allocations: 16.47 kB / 0.7289 GB, free: 70.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.257, allocations: 7.922 kB / 0.7289 GB, free: 70.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.257, allocations: 3.891 kB / 0.7289 GB, free: 70.51 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/1.272, allocations: 5.82 MB / 0.7346 GB, free: 68.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.272, allocations: 2.469 kB / 0.7346 GB, free: 68.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/1.273, allocations: 165.1 kB / 0.7347 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/1.275, allocations: 0.7076 MB / 0.7354 GB, free: 68.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000173/1.275, allocations: 22.67 kB / 0.7355 GB, free: 68.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/1.28, allocations: 4.451 MB / 0.7398 GB, free: 65.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.28, allocations: 0 / 0.7398 GB, free: 65.79 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006501/1.287, allocations: 4.364 MB / 0.7441 GB, free: 63.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/1.288, allocations: 0.5296 MB / 0.7446 GB, free: 63.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008876/1.289, allocations: 27.3 kB / 0.7446 GB, free: 63.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.291, allocations: 72.08 kB / 0.7447 GB, free: 63.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/1.291, allocations: 62.61 kB / 0.7447 GB, free: 63.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.291, allocations: 31.12 kB / 0.7448 GB, free: 63.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005522/1.297, allocations: 2.272 MB / 0.747 GB, free: 62.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.297, allocations: 7.312 kB / 0.747 GB, free: 62.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006661/1.304, allocations: 0.8143 MB / 0.7478 GB, free: 62.65 MB / 474.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 86 * 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.0007727/1.304, allocations: 149.5 kB / 0.7479 GB, free: 62.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006814/1.311, allocations: 3.905 MB / 0.7517 GB, free: 60.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.311, allocations: 0 / 0.7517 GB, free: 60.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.313, allocations: 1.075 MB / 0.7528 GB, free: 59.57 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/1.315, allocations: 349.8 kB / 0.7531 GB, free: 59.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.331, allocations: 5.82 MB / 0.7588 GB, free: 54.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004632/1.336, allocations: 2.831 MB / 0.7616 GB, free: 51.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004643/1.34, allocations: 1.643 MB / 0.7632 GB, free: 50.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009386/1.341, allocations: 206.5 kB / 0.7634 GB, free: 50.66 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/1.341, allocations: 0 / 0.7634 GB, free: 50.66 MB / 474.7 MB Notification: Performance of Templates: time 0.05493/1.396, allocations: 28.75 MB / 0.7914 GB, free: 27.82 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)