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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001554/0.001554, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.212/1.212, allocations: 170.7 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001881/0.001881, allocations: 99.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1859/0.1859, allocations: 37.99 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.848e-05, allocations: 4.094 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4622, allocations: 92.71 MB / 491.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4624, allocations: 76.95 kB / 491.5 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1597/0.6221, allocations: 70.44 MB / 0.5488 GB, free: 9.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6222, allocations: 0 / 0.5488 GB, free: 9.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.6223, allocations: 68 kB / 0.5488 GB, free: 9.285 MB / 362.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.008877/0.6312, allocations: 3.354 MB / 0.5521 GB, free: 5.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6313, allocations: 8.031 kB / 0.5521 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00905/0.6403, allocations: 2.082 MB / 0.5542 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/0.6504, allocations: 4.057 MB / 0.5581 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.6506, allocations: 108 kB / 0.5582 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009117/0.6515, allocations: 199.9 kB / 0.5584 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008408/0.66, allocations: 5.038 MB / 0.5633 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.6719, allocations: 7.952 MB / 0.5711 GB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.672, allocations: 55.42 kB / 0.5712 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004091/0.6724, allocations: 32 kB / 0.5712 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/0.6737, allocations: 0.8721 MB / 0.572 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.718, allocations: 40.95 MB / 0.612 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.7213, allocations: 2.47 MB / 0.6144 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/0.7231, allocations: 1.377 MB / 0.6158 GB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/0.7236, allocations: 323.8 kB / 0.6161 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.7237, allocations: 59.06 kB / 0.6162 GB, free: 1.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 4.288e-06/0.7237, allocations: 0 / 0.6162 GB, free: 1.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=130): time 0.2532/0.9769, allocations: 11.25 MB / 0.6271 GB, free: 101.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.9771, allocations: 192 kB / 0.6273 GB, free: 101.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005743/0.9828, allocations: 2.793 MB / 0.6301 GB, free: 101 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.9832, allocations: 26.95 kB / 0.6301 GB, free: 101 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.9852, allocations: 2.772 MB / 0.6328 GB, free: 99.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008421/0.9861, allocations: 0.5083 MB / 0.6333 GB, free: 99.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.9863, allocations: 5.062 kB / 0.6333 GB, free: 99.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004118/0.9867, allocations: 0.5376 MB / 0.6338 GB, free: 98.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.9898, allocations: 1.587 MB / 0.6354 GB, free: 98.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/0.9945, allocations: 5.101 MB / 0.6403 GB, free: 94.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.9986, allocations: 2.841 MB / 0.6431 GB, free: 94.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.678e-05/0.9987, allocations: 38 kB / 0.6432 GB, free: 94.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01119/1.01, allocations: 6.009 MB / 0.649 GB, free: 93.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/1.01, allocations: 61.81 kB / 0.6491 GB, free: 93.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.01, allocations: 130.6 kB / 0.6492 GB, free: 93.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/1.011, allocations: 345.5 kB / 0.6495 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.014, allocations: 1.322 MB / 0.6508 GB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/1.016, allocations: 2.247 MB / 0.653 GB, free: 92.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.02, allocations: 186 kB / 0.6532 GB, free: 92.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/1.021, allocations: 343.6 kB / 0.6535 GB, free: 92.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * 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 (686): * Single equations (assignments): 682 * 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.0005854/1.021, allocations: 424.3 kB / 0.6539 GB, free: 92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/1.022, allocations: 285.1 kB / 0.6542 GB, free: 91.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/1.026, allocations: 2.246 MB / 0.6564 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/1.026, allocations: 21.14 kB / 0.6564 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.026, allocations: 3.406 kB / 0.6564 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.026, allocations: 7.688 kB / 0.6564 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009482/1.035, allocations: 5.601 MB / 0.6619 GB, free: 90.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.035, allocations: 3.875 kB / 0.6619 GB, free: 90.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/1.036, allocations: 176.9 kB / 0.6621 GB, free: 90.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.038, allocations: 0.7135 MB / 0.6628 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/1.038, allocations: 2.375 kB / 0.6628 GB, free: 90.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/1.042, allocations: 4.298 MB / 0.667 GB, free: 87.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.042, allocations: 2.469 kB / 0.667 GB, free: 87.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/1.048, allocations: 4.395 MB / 0.6713 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.05, allocations: 0.4967 MB / 0.6717 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.05, allocations: 3.781 kB / 0.6717 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.051, allocations: 61.58 kB / 0.6718 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/1.051, allocations: 66.75 kB / 0.6719 GB, free: 85.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-05/1.051, allocations: 38.42 kB / 0.6719 GB, free: 85.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002781/1.054, allocations: 1.85 MB / 0.6737 GB, free: 85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.054, allocations: 0 / 0.6737 GB, free: 85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004886/1.059, allocations: 0.6997 MB / 0.6744 GB, free: 85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (97): * Single equations (assignments): 93 * 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.0004192/1.06, allocations: 140.8 kB / 0.6745 GB, free: 84.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005221/1.065, allocations: 3.765 MB / 0.6782 GB, free: 83.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.065, allocations: 3.781 kB / 0.6782 GB, free: 83.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.066, allocations: 1.068 MB / 0.6793 GB, free: 83.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.068, allocations: 291.7 kB / 0.6795 GB, free: 82.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009737/1.078, allocations: 5.829 MB / 0.6852 GB, free: 80.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/1.08, allocations: 2.828 MB / 0.688 GB, free: 79.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003875/1.084, allocations: 1.72 MB / 0.6897 GB, free: 78.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/1.084, allocations: 194.8 kB / 0.6898 GB, free: 78.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/1.084, allocations: 0 / 0.6898 GB, free: 78.59 MB / 426.7 MB Notification: Performance of Templates: time 0.0434/1.128, allocations: 25.1 MB / 0.7144 GB, free: 62.09 MB / 426.7 MB 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)