Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007183/0.007184, allocations: 165.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.723/1.723, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00175/0.001751, allocations: 106.6 kB / 226.2 MB, free: 10.12 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.4187/0.4187, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004416, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 48.69 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5761, allocations: 92.91 MB / 0.4926 GB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.5764, allocations: 74.03 kB / 0.4927 GB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2382/0.8147, allocations: 92.35 MB / 0.5829 GB, free: 3.332 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.8147, allocations: 4 kB / 0.5829 GB, free: 3.328 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002321/0.815, allocations: 80 kB / 0.583 GB, free: 3.25 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.3258/1.141, allocations: 5.044 MB / 0.5879 GB, free: 75.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/1.141, allocations: 8.906 kB / 0.5879 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/1.154, allocations: 2.233 MB / 0.5901 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/1.172, allocations: 5.088 MB / 0.5951 GB, free: 74.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/1.172, allocations: 327.6 kB / 0.5954 GB, free: 74.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002677/1.175, allocations: 433.3 kB / 0.5958 GB, free: 74.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/1.2, allocations: 11.56 MB / 0.6071 GB, free: 71.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/1.201, allocations: 53.88 kB / 0.6071 GB, free: 71.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008983/1.202, allocations: 209.5 kB / 0.6073 GB, free: 71.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001539/1.203, allocations: 1.153 MB / 0.6085 GB, free: 71.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.225, allocations: 10.01 MB / 0.6182 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0663/1.291, allocations: 50.71 MB / 0.6678 GB, free: 37.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.304, allocations: 5.882 MB / 0.6735 GB, free: 35.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/1.318, allocations: 9.191 MB / 0.6825 GB, free: 30.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009133/1.327, allocations: 3.394 MB / 0.6858 GB, free: 30.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 4.008e-06/1.327, allocations: 0 / 0.6858 GB, free: 30.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.1105/1.438, allocations: 33.97 MB / 0.719 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.438, allocations: 158.5 kB / 0.7191 GB, free: 14.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/1.444, allocations: 3.706 MB / 0.7227 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/1.445, allocations: 65.7 kB / 0.7228 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003173/1.448, allocations: 3.245 MB / 0.726 GB, free: 8.172 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.45, allocations: 1.042 MB / 0.727 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/1.45, allocations: 135.4 kB / 0.7271 GB, free: 7.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000308/1.451, allocations: 0.5818 MB / 0.7277 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003973/1.455, allocations: 3.299 MB / 0.7309 GB, free: 3.801 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007246/1.462, allocations: 6.883 MB / 0.7376 GB, free: 11.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008064/1.47, allocations: 4.707 MB / 0.7422 GB, free: 7.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.644e-05/1.47, allocations: 36 kB / 0.7423 GB, free: 7.285 MB / 442.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.3582/1.828, allocations: 12.47 MB / 0.7544 GB, free: 78.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/1.828, allocations: 96.02 kB / 0.7545 GB, free: 78.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002727/1.829, allocations: 126.6 kB / 0.7547 GB, free: 78.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008401/1.837, allocations: 2.682 MB / 0.7573 GB, free: 78.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006352/1.844, allocations: 1.478 MB / 0.7587 GB, free: 78.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03086/1.874, allocations: 22.28 MB / 0.7805 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009056/1.884, allocations: 426.3 kB / 0.7809 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/1.886, allocations: 400 kB / 0.7813 GB, free: 73.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.007167/1.893, allocations: 2.218 MB / 0.7834 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.894, allocations: 402.9 kB / 0.7838 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01743/1.912, allocations: 7.901 MB / 0.7915 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.14e-05/1.912, allocations: 29.31 kB / 0.7916 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/1.912, allocations: 9.891 kB / 0.7916 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.517e-05/1.912, allocations: 13.42 kB / 0.7916 GB, free: 72.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03264/1.945, allocations: 14.58 MB / 0.8058 GB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-05/1.945, allocations: 4 kB / 0.8058 GB, free: 67.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002334/1.947, allocations: 400.2 kB / 0.8062 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006148/1.953, allocations: 2.445 MB / 0.8086 GB, free: 67.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00077/1.954, allocations: 47.06 kB / 0.8086 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/1.982, allocations: 22.1 MB / 0.8302 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.982, allocations: 0 / 0.8302 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/1.997, allocations: 8.253 MB / 0.8383 GB, free: 52.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003705/2.001, allocations: 0.9875 MB / 0.8392 GB, free: 52.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006904/2.002, allocations: 56.94 kB / 0.8393 GB, free: 52.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/2.004, allocations: 209.5 kB / 0.8395 GB, free: 52.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009069/2.005, allocations: 192.9 kB / 0.8397 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/2.005, allocations: 74.12 kB / 0.8397 GB, free: 52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005333/2.01, allocations: 2.588 MB / 0.8423 GB, free: 51.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.01, allocations: 0 / 0.8423 GB, free: 51.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009861/2.02, allocations: 1.378 MB / 0.8436 GB, free: 50.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/2.022, allocations: 428.8 kB / 0.844 GB, free: 50.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01587/2.038, allocations: 8.817 MB / 0.8526 GB, free: 47.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.038, allocations: 0 / 0.8526 GB, free: 47.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006883/2.045, allocations: 3.992 MB / 0.8565 GB, free: 45.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/2.048, allocations: 425.1 kB / 0.8569 GB, free: 45.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/2.074, allocations: 13.69 MB / 0.8703 GB, free: 33.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004277/2.078, allocations: 3.668 MB / 0.8739 GB, free: 31.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005957/2.084, allocations: 2.145 MB / 0.876 GB, free: 29.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/2.085, allocations: 267.2 kB / 0.8762 GB, free: 29.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.954e-06/2.085, allocations: 0 / 0.8762 GB, free: 29.71 MB / 442.7 MB Notification: Performance of Templates: time 0.4078/2.493, allocations: 60 MB / 0.9348 GB, free: 84.35 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)