Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001467/0.001467, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.149/1.149, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.00155/0.00155, allocations: 114.7 kB / 223.2 MB, free: 4.105 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.1679/0.1679, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.889e-05/4.891e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.0937, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.4728, allocations: 88.21 MB / 493.9 MB, free: 18.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4731, allocations: 68.23 kB / 494 MB, free: 18.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1447/0.6178, allocations: 57.89 MB / 0.5389 GB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6179, allocations: 0 / 0.5389 GB, free: 384 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-05/0.618, allocations: 44 kB / 0.539 GB, free: 340 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.007832/0.6258, allocations: 2.594 MB / 0.5415 GB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.6259, allocations: 8.031 kB / 0.5415 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00937/0.6353, allocations: 1.976 MB / 0.5434 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009698/0.645, allocations: 3.346 MB / 0.5467 GB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/0.6453, allocations: 181.9 kB / 0.5469 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.6465, allocations: 244.7 kB / 0.5471 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.6603, allocations: 6.805 MB / 0.5538 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.6605, allocations: 47.53 kB / 0.5538 GB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.661, allocations: 127.9 kB / 0.5539 GB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001062/0.662, allocations: 0.7111 MB / 0.5546 GB, free: 0.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.6727, allocations: 5.736 MB / 0.5602 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03696/0.7097, allocations: 33.52 MB / 0.5929 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.7141, allocations: 2.088 MB / 0.595 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.7157, allocations: 1.015 MB / 0.596 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.564e-05/0.7158, allocations: 16.3 kB / 0.596 GB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.7159, allocations: 50.88 kB / 0.596 GB, free: 4.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 7.724e-06/0.7159, allocations: 0 / 0.596 GB, free: 4.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.0131/0.729, allocations: 5.142 MB / 0.6011 GB, free: 15.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7292, allocations: 148.9 kB / 0.6012 GB, free: 15.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/0.7337, allocations: 2.544 MB / 0.6037 GB, free: 12.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.7339, allocations: 41.7 kB / 0.6037 GB, free: 12.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00153/0.7355, allocations: 2.098 MB / 0.6058 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005425/0.736, allocations: 458.5 kB / 0.6062 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.7362, allocations: 84 kB / 0.6063 GB, free: 10.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003145/0.7366, allocations: 0.4918 MB / 0.6068 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.7387, allocations: 1.352 MB / 0.6081 GB, free: 8.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00409/0.7428, allocations: 4.189 MB / 0.6122 GB, free: 2.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/0.7461, allocations: 2.36 MB / 0.6145 GB, free: 360 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.433e-05/0.7462, allocations: 31.98 kB / 0.6145 GB, free: 328 kB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.2563/1.002, allocations: 5.343 MB / 0.6197 GB, free: 107.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/1.003, allocations: 53.38 kB / 0.6198 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.332e-05/1.003, allocations: 99.59 kB / 0.6199 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/1.003, allocations: 147.8 kB / 0.62 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.006, allocations: 1.077 MB / 0.6211 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001933/1.006, allocations: 198.2 kB / 0.6213 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/1.009, allocations: 292.3 kB / 0.6215 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/1.01, allocations: 282.6 kB / 0.6218 GB, free: 107.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005398/1.01, allocations: 444.4 kB / 0.6222 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/1.011, allocations: 247.4 kB / 0.6225 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.013, allocations: 1.224 MB / 0.6237 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/1.013, allocations: 16.94 kB / 0.6237 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.013, allocations: 4.969 kB / 0.6237 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.013, allocations: 5.75 kB / 0.6237 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/1.02, allocations: 3.987 MB / 0.6276 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.02, allocations: 4.828 kB / 0.6276 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.021, allocations: 213.2 kB / 0.6278 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/1.021, allocations: 4.344 kB / 0.6278 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/1.022, allocations: 24.09 kB / 0.6278 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/1.022, allocations: 4.375 kB / 0.6278 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.022, allocations: 5 kB / 0.6278 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.024, allocations: 2.055 MB / 0.6298 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.025, allocations: 459 kB / 0.6303 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.025, allocations: 13.31 kB / 0.6303 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/1.026, allocations: 76.78 kB / 0.6304 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.027, allocations: 60.41 kB / 0.6304 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/1.027, allocations: 32.89 kB / 0.6305 GB, free: 106.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002686/1.029, allocations: 1.756 MB / 0.6322 GB, free: 106.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.029, allocations: 0 / 0.6322 GB, free: 106.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003666/1.033, allocations: 0.6453 MB / 0.6328 GB, free: 106.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003613/1.033, allocations: 167.8 kB / 0.633 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00485/1.038, allocations: 3.152 MB / 0.636 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.038, allocations: 6.875 kB / 0.636 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008944/1.039, allocations: 0.7742 MB / 0.6368 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.04, allocations: 235.7 kB / 0.637 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/1.048, allocations: 4.397 MB / 0.6413 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.05, allocations: 2.262 MB / 0.6435 GB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00317/1.053, allocations: 1.465 MB / 0.645 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/1.053, allocations: 178.8 kB / 0.6451 GB, free: 104 MB / 426.7 MB Notification: Performance of SimCode: time 1.393e-06/1.053, allocations: 0 / 0.6451 GB, free: 104 MB / 426.7 MB Notification: Performance of Templates: time 0.03335/1.087, allocations: 19.69 MB / 0.6644 GB, free: 103.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe 2>&1)