Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.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 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.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.764/1.764, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3669/0.3669, allocations: 39.94 MB / 309.7 MB, free: 9.297 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.2. 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.001579/0.001579, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004574/0.1504, allocations: 2.828 MB / 437.3 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1517, allocations: 0.7565 MB / 438.1 MB, free: 64 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1519, allocations: 11.94 kB / 438.1 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1521, allocations: 59.5 kB / 438.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1524, allocations: 118.9 kB / 438.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1526, allocations: 99.81 kB / 438.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.1531, allocations: 446.3 kB / 438.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.1535, allocations: 190.1 kB / 439 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.1537, allocations: 175.3 kB / 439.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.154, allocations: 187.2 kB / 439.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.1541, allocations: 36 kB / 439.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.1541, allocations: 36 kB / 439.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.188e-05/0.1542, allocations: 79.7 kB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.1544, allocations: 210.9 kB / 439.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1549, allocations: 430.7 kB / 440.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1549, allocations: 4 kB / 440.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1549, allocations: 0 / 440.1 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1549, allocations: 0 / 440.1 MB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001053/0.156, allocations: 0.6745 MB / 440.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.156, allocations: 15.89 kB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.1561, allocations: 44.38 kB / 440.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1564, allocations: 288.5 kB / 441.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1565, allocations: 29.38 kB / 441.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.1566, allocations: 44.28 kB / 441.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1572, allocations: 389.3 kB / 441.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1572, allocations: 0 / 441.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1573, allocations: 16 kB / 441.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1573, allocations: 16 kB / 441.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.1578, allocations: 247.8 kB / 441.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1595, allocations: 1.105 MB / 443 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.1601, allocations: 347.4 kB / 443.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.1604, allocations: 174.4 kB / 443.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.1605, allocations: 8 kB / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1605, allocations: 38.56 kB / 443.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.1605, allocations: 0 / 443.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.00407/0.1646, allocations: 2.441 MB / 446 MB, free: 7.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1647, allocations: 114.8 kB / 446.1 MB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.165, allocations: 242.6 kB / 446.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.165, allocations: 37.7 kB / 446.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.1652, allocations: 180.7 kB / 446.5 MB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1653, allocations: 193 kB / 446.7 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1655, allocations: 94.16 kB / 446.8 MB, free: 6.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1656, allocations: 350.7 kB / 447.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.1659, allocations: 133 kB / 447.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1663, allocations: 227.8 kB / 447.5 MB, free: 6.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.1669, allocations: 401.9 kB / 447.9 MB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1669, allocations: 4 kB / 447.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001064/0.168, allocations: 0.5539 MB / 448.4 MB, free: 5.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.168, allocations: 4 kB / 448.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1681, allocations: 8.094 kB / 448.5 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004532/0.1685, allocations: 114.5 kB / 448.6 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.1689, allocations: 103.8 kB / 448.7 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2785/0.4475, allocations: 5.211 MB / 453.9 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.4479, allocations: 19.67 kB / 453.9 MB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.448, allocations: 18.75 kB / 453.9 MB, free: 49.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.4482, allocations: 172.9 kB / 454.1 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4483, allocations: 36.47 kB / 454.1 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.148e-05/0.4484, allocations: 46.05 kB / 454.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4484, allocations: 8.969 kB / 454.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.4485, allocations: 2.5 kB / 454.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4485, allocations: 3.797 kB / 454.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.4502, allocations: 1.338 MB / 455.5 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4502, allocations: 0 / 455.5 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.4506, allocations: 97.67 kB / 455.6 MB, free: 49.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.4509, allocations: 97.2 kB / 455.7 MB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.451, allocations: 9.781 kB / 455.7 MB, free: 49.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.4534, allocations: 4.433 MB / 460.2 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4534, allocations: 2.719 kB / 460.2 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.4545, allocations: 0.9227 MB / 461.1 MB, free: 45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.4546, allocations: 116.3 kB / 461.2 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.4546, allocations: 10.72 kB / 461.2 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4549, allocations: 15.95 kB / 461.2 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.455, allocations: 55.56 kB / 461.3 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.455, allocations: 16.27 kB / 461.3 MB, free: 44.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.4551, allocations: 176.3 kB / 461.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4552, allocations: 0 / 461.5 MB, free: 44.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006747/0.4558, allocations: 120.7 kB / 461.6 MB, free: 44.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.456, allocations: 113.3 kB / 461.7 MB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.4572, allocations: 0.7938 MB / 462.5 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4572, allocations: 0 / 462.5 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.4579, allocations: 0.5791 MB / 463.1 MB, free: 44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.4587, allocations: 57.91 kB / 463.1 MB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.4603, allocations: 1.075 MB / 464.2 MB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.4606, allocations: 0.8198 MB / 465 MB, free: 42.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.4607, allocations: 42.72 kB / 465.1 MB, free: 42.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.4608, allocations: 29.56 kB / 465.1 MB, free: 42.58 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4608, allocations: 0 / 465.1 MB, free: 42.58 MB / 382.1 MB Notification: Performance of Templates: time 0.007684/0.4685, allocations: 4.47 MB / 469.6 MB, free: 42.3 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)