Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006499/0.006499, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.45/1.45, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001649/0.001649, allocations: 120.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1761/0.1761, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 14.12 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 54.86 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.2694, allocations: 81.89 MB / 0.5302 GB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.2697, allocations: 79.95 kB / 0.5303 GB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2682/0.5379, allocations: 5.758 MB / 0.5359 GB, free: 82.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.538, allocations: 0 / 0.5359 GB, free: 82.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.538, allocations: 7.344 kB / 0.5359 GB, free: 82.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009768/0.539, allocations: 0.5771 MB / 0.5365 GB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.5391, allocations: 12.94 kB / 0.5365 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.5392, allocations: 41.12 kB / 0.5365 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.5395, allocations: 266.6 kB / 0.5368 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5396, allocations: 27 kB / 0.5368 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.5397, allocations: 44.53 kB / 0.5368 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.5406, allocations: 400.2 kB / 0.5372 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.5406, allocations: 5.062 kB / 0.5372 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.5407, allocations: 14.19 kB / 0.5372 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.5407, allocations: 9.781 kB / 0.5372 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.5412, allocations: 227.1 kB / 0.5375 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.5438, allocations: 1.721 MB / 0.5391 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.5443, allocations: 272.1 kB / 0.5394 GB, free: 80.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.5443, allocations: 4.328 kB / 0.5394 GB, free: 80.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.5444, allocations: 43.3 kB / 0.5394 GB, free: 80.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.336e-06/0.5444, allocations: 4 kB / 0.5394 GB, free: 80.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007949/0.5452, allocations: 268.6 kB / 0.5397 GB, free: 80.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.5453, allocations: 220.8 kB / 0.5399 GB, free: 80.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.5456, allocations: 241.1 kB / 0.5401 GB, free: 80.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5456, allocations: 29.86 kB / 0.5402 GB, free: 80.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5457, allocations: 238.7 kB / 0.5404 GB, free: 79.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.5458, allocations: 113.7 kB / 0.5405 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.5458, allocations: 10.72 kB / 0.5405 GB, free: 79.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.5459, allocations: 347.3 kB / 0.5408 GB, free: 79.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.5462, allocations: 107.5 kB / 0.5409 GB, free: 79.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.5465, allocations: 428.2 kB / 0.5414 GB, free: 79.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.5468, allocations: 167 kB / 0.5415 GB, free: 79.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.5469, allocations: 3.969 kB / 0.5415 GB, free: 79.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008382/0.5477, allocations: 0.5356 MB / 0.542 GB, free: 78.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.5477, allocations: 11.95 kB / 0.5421 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5478, allocations: 11.44 kB / 0.5421 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.5478, allocations: 16.78 kB / 0.5421 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.5483, allocations: 150.6 kB / 0.5422 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.5483, allocations: 23.2 kB / 0.5422 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.5486, allocations: 72.8 kB / 0.5423 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.5486, allocations: 38.16 kB / 0.5424 GB, free: 78.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 initialization (71): * Single equations (assignments): 71 * Array equations: 0 * 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.000146/0.5488, allocations: 180.4 kB / 0.5425 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5489, allocations: 27.5 kB / 0.5426 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.549, allocations: 34.98 kB / 0.5426 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.549, allocations: 4.344 kB / 0.5426 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.5491, allocations: 2.094 kB / 0.5426 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5491, allocations: 5.406 kB / 0.5426 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5502, allocations: 0.6496 MB / 0.5432 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5502, allocations: 2.312 kB / 0.5432 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.5506, allocations: 92.52 kB / 0.5433 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.5507, allocations: 3.938 kB / 0.5433 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.5507, allocations: 11.3 kB / 0.5433 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5507, allocations: 5.922 kB / 0.5433 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5507, allocations: 2.031 kB / 0.5433 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.5514, allocations: 0.941 MB / 0.5443 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.5515, allocations: 115.2 kB / 0.5444 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.5515, allocations: 8.094 kB / 0.5444 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.5518, allocations: 6.75 kB / 0.5444 GB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.5519, allocations: 32.59 kB / 0.5444 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.5519, allocations: 12.25 kB / 0.5444 GB, free: 77.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.5521, allocations: 181.3 kB / 0.5446 GB, free: 77.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5521, allocations: 0 / 0.5446 GB, free: 77.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006961/0.5528, allocations: 99.59 kB / 0.5447 GB, free: 77.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001202/0.5529, allocations: 109 kB / 0.5448 GB, free: 77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.5534, allocations: 298.7 kB / 0.5451 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5535, allocations: 0 / 0.5451 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.5536, allocations: 97.03 kB / 0.5452 GB, free: 76.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.5543, allocations: 64.94 kB / 0.5452 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.5564, allocations: 1.884 MB / 0.5471 GB, free: 75.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5568, allocations: 0.8131 MB / 0.5479 GB, free: 74.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.557, allocations: 46.19 kB / 0.5479 GB, free: 74.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.557, allocations: 26.47 kB / 0.5479 GB, free: 74.64 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.557, allocations: 1 kB / 0.5479 GB, free: 74.64 MB / 378.7 MB Notification: Performance of Templates: time 0.006374/0.5634, allocations: 2.657 MB / 0.5505 GB, free: 73.36 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)