Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006041/0.006041, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001284/0.001284, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.462/1.462, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1915/0.1915, allocations: 38 MB / 307.9 MB, free: 5.992 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.001472/0.001472, allocations: 70.44 kB / 433 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 56.47 MB / 489.5 MB, free: 5.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01684/0.1345, allocations: 17.05 MB / 0.4947 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.1433, allocations: 3.879 MB / 0.4984 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.1466, allocations: 99.81 kB / 0.4985 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.1513, allocations: 2.175 MB / 0.5007 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.1596, allocations: 2.51 MB / 0.5031 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1614, allocations: 303.5 kB / 0.5034 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009935/0.1713, allocations: 6.368 MB / 0.5096 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.1758, allocations: 3.33 MB / 0.5129 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3049/0.4808, allocations: 2.135 MB / 0.515 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006648/0.4875, allocations: 2.784 MB / 0.5177 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002971/0.4905, allocations: 391.4 kB / 0.518 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005743/0.4963, allocations: 0.7892 MB / 0.5188 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007206/0.5036, allocations: 2.779 MB / 0.5215 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00971/0.5133, allocations: 3.355 MB / 0.5248 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02178/0.5351, allocations: 10.7 MB / 0.5353 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.5352, allocations: 1.875 kB / 0.5353 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5352, allocations: 0 / 0.5353 GB, free: 3.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005801/0.5358, allocations: 0 / 0.5353 GB, free: 3.375 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0345/0.5703, allocations: 7.147 MB / 0.5422 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.5704, allocations: 14.39 kB / 0.5423 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/0.5945, allocations: 5.86 MB / 0.548 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.6076, allocations: 3.291 MB / 0.5512 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/0.6082, allocations: 328.5 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/0.611, allocations: 416.9 kB / 0.5519 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/0.653, allocations: 18.89 MB / 0.5704 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.6532, allocations: 36 kB / 0.5704 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/0.6547, allocations: 206.2 kB / 0.5706 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009262/0.664, allocations: 4.747 MB / 0.5752 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04067/0.7047, allocations: 17.53 MB / 0.5923 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1157/0.8205, allocations: 60.84 MB / 0.6518 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/0.8387, allocations: 8.427 MB / 0.66 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005216/0.844, allocations: 2.583 MB / 0.6625 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/0.8745, allocations: 11.87 MB / 0.6741 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/0.8746, allocations: 56.56 kB / 0.6742 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 9.628e-06/0.8746, allocations: 0 / 0.6742 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.02072/0.8953, allocations: 7.514 MB / 0.6815 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.8955, allocations: 99.11 kB / 0.6816 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/0.9069, allocations: 5.683 MB / 0.6871 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007652/0.9077, allocations: 60.67 kB / 0.6872 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005568/0.9132, allocations: 5.071 MB / 0.6922 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/0.9158, allocations: 1.201 MB / 0.6933 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003718/0.9195, allocations: 1.908 MB / 0.6952 GB, free: 9.477 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.9197, allocations: 309.1 kB / 0.6955 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005499/0.9252, allocations: 3.204 MB / 0.6986 GB, free: 5.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/0.9373, allocations: 8.657 MB / 0.7071 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/0.9552, allocations: 12.9 MB / 0.7197 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002118/0.9554, allocations: 60 kB / 0.7197 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.3144/1.27, allocations: 11.64 MB / 0.7311 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.27, allocations: 88.34 kB / 0.7312 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003437/1.27, allocations: 190.1 kB / 0.7314 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/1.271, allocations: 252.9 kB / 0.7316 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008241/1.279, allocations: 2.077 MB / 0.7336 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/1.28, allocations: 374.7 kB / 0.734 GB, free: 189.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009803/1.289, allocations: 1.324 MB / 0.7353 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/1.292, allocations: 0.5543 MB / 0.7358 GB, free: 188.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01666/1.309, allocations: 3.711 MB / 0.7394 GB, free: 188.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003008/1.312, allocations: 482.8 kB / 0.7399 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/1.316, allocations: 0.6452 MB / 0.7405 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002715/1.316, allocations: 59.73 kB / 0.7406 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.396e-05/1.316, allocations: 5.547 kB / 0.7406 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.051e-05/1.316, allocations: 15.52 kB / 0.7406 GB, free: 188.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0345/1.351, allocations: 12.63 MB / 0.7529 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/1.351, allocations: 15.59 kB / 0.753 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.353, allocations: 419.3 kB / 0.7534 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-05/1.353, allocations: 23.44 kB / 0.7534 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/1.354, allocations: 61.73 kB / 0.7534 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-05/1.354, allocations: 34.47 kB / 0.7535 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.354, allocations: 19.77 kB / 0.7535 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007339/1.361, allocations: 4.637 MB / 0.758 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.363, allocations: 0.5637 MB / 0.7586 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007789/1.364, allocations: 59.23 kB / 0.7586 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.365, allocations: 129.3 kB / 0.7588 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.366, allocations: 176.4 kB / 0.7589 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.366, allocations: 99.17 kB / 0.759 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006978/1.373, allocations: 3.497 MB / 0.7624 GB, free: 181 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/1.373, allocations: 0 / 0.7624 GB, free: 181 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01171/1.385, allocations: 1.98 MB / 0.7644 GB, free: 180.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/1.386, allocations: 205.3 kB / 0.7646 GB, free: 180.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0108/1.396, allocations: 7.347 MB / 0.7717 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/1.397, allocations: 0 / 0.7717 GB, free: 177.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/1.399, allocations: 2.006 MB / 0.7737 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/1.403, allocations: 0.6237 MB / 0.7743 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.427, allocations: 15.43 MB / 0.7894 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007615/1.435, allocations: 5.411 MB / 0.7947 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007691/1.443, allocations: 3.543 MB / 0.7981 GB, free: 154 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.444, allocations: 383.3 kB / 0.7985 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.903e-06/1.444, allocations: 0 / 0.7985 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.07918/1.523, allocations: 41.34 MB / 0.8388 GB, free: 112.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1)