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.001201/0.001201, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.623/1.623, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.4012/0.4012, allocations: 39.93 MB / 309.4 MB, free: 8.957 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.001374/0.001374, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1577, allocations: 56.88 MB / 434 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005289/0.163, allocations: 2.87 MB / 436.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1648, allocations: 0.7526 MB / 437.6 MB, free: 104 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.165, allocations: 11.94 kB / 437.6 MB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1654, allocations: 43.62 kB / 437.7 MB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1657, allocations: 103.2 kB / 437.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.166, allocations: 83.8 kB / 437.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.1667, allocations: 446.4 kB / 438.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.167, allocations: 186.1 kB / 438.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1673, allocations: 171.4 kB / 438.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1675, allocations: 191.1 kB / 438.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.1676, allocations: 32 kB / 438.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.676e-05/0.1676, allocations: 36 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.1677, allocations: 83.69 kB / 439 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1679, allocations: 211 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.1684, allocations: 438.7 kB / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1684, allocations: 3.938 kB / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1684, allocations: 0 / 439.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1684, allocations: 0 / 439.6 MB, free: 14.1 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.001112/0.1695, allocations: 0.659 MB / 440.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.1696, allocations: 15.83 kB / 440.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.1697, allocations: 48.38 kB / 440.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.1701, allocations: 292.5 kB / 440.6 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1702, allocations: 29.38 kB / 440.6 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.1702, allocations: 48.28 kB / 440.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.1709, allocations: 381.3 kB / 441.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1709, allocations: 0 / 441.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.171, allocations: 16 kB / 441.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.171, allocations: 16 kB / 441.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.1715, allocations: 255.8 kB / 441.3 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1732, allocations: 1.101 MB / 442.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1737, allocations: 363.4 kB / 442.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.174, allocations: 162.5 kB / 443 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.174, allocations: 4 kB / 443 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1741, allocations: 46.48 kB / 443 MB, free: 10.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.1741, allocations: 0 / 443 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003809/0.1779, allocations: 2.449 MB / 445.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.178, allocations: 106.8 kB / 445.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1783, allocations: 238.6 kB / 445.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.1783, allocations: 37.7 kB / 445.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1784, allocations: 184.6 kB / 446 MB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.1786, allocations: 197 kB / 446.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1787, allocations: 94.16 kB / 446.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1789, allocations: 350.7 kB / 446.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1792, allocations: 125.1 kB / 446.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1795, allocations: 231.8 kB / 447 MB, free: 6.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.18, allocations: 398 kB / 447.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1801, allocations: 0 / 447.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009198/0.181, allocations: 0.5617 MB / 447.9 MB, free: 5.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.181, allocations: 4 kB / 447.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/0.1811, allocations: 4 kB / 447.9 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00035/0.1814, allocations: 130.5 kB / 448.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.1818, allocations: 95.88 kB / 448.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2266/0.4085, allocations: 5.199 MB / 453.4 MB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.4089, allocations: 23.23 kB / 453.4 MB, free: 49.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.409, allocations: 18.66 kB / 453.4 MB, free: 49.83 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.0002271/0.4092, allocations: 164.9 kB / 453.6 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.4093, allocations: 42.5 kB / 453.6 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.4094, allocations: 46.77 kB / 453.7 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4094, allocations: 14.11 kB / 453.7 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.4094, allocations: 3.656 kB / 453.7 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.4094, allocations: 8.422 kB / 453.7 MB, free: 49.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4112, allocations: 1.334 MB / 455 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4112, allocations: 0 / 455 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.4115, allocations: 99.92 kB / 455.1 MB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.4118, allocations: 91.03 kB / 455.2 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.4118, allocations: 18.92 kB / 455.2 MB, free: 49.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.4141, allocations: 4.418 MB / 459.6 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4141, allocations: 6.062 kB / 459.6 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4152, allocations: 0.9327 MB / 460.6 MB, free: 44.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.4153, allocations: 111 kB / 460.7 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.4154, allocations: 13.53 kB / 460.7 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4156, allocations: 18.48 kB / 460.7 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4158, allocations: 42.78 kB / 460.8 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.4158, allocations: 18.48 kB / 460.8 MB, free: 44.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.416, allocations: 177.7 kB / 460.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.416, allocations: 0 / 460.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000727/0.4167, allocations: 121.3 kB / 461.1 MB, free: 44.66 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.0001454/0.4169, allocations: 115.2 kB / 461.2 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.418, allocations: 0.7897 MB / 462 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.418, allocations: 0 / 462 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005895/0.4186, allocations: 0.5777 MB / 462.5 MB, free: 43.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006159/0.4192, allocations: 59.48 kB / 462.6 MB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4208, allocations: 1.251 MB / 463.9 MB, free: 42.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.4211, allocations: 0.8248 MB / 464.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.4212, allocations: 37.42 kB / 464.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.4213, allocations: 26.88 kB / 464.7 MB, free: 42.24 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4213, allocations: 0 / 464.7 MB, free: 42.24 MB / 382.1 MB Notification: Performance of Templates: time 0.007572/0.4289, allocations: 4.417 MB / 469.2 MB, free: 41.98 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)