Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001259/0.001259, 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.001529/0.001529, allocations: 194.7 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.654/1.654, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3521/0.3521, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.1. 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.001345/0.001345, allocations: 70.61 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 56.46 MB / 431.2 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.00422/0.1386, allocations: 2.882 MB / 434.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1399, allocations: 0.7565 MB / 434.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1401, allocations: 11.94 kB / 434.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.1403, allocations: 39.58 kB / 434.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1405, allocations: 107.2 kB / 435 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1407, allocations: 83.91 kB / 435.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.1412, allocations: 434.4 kB / 435.5 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.1415, allocations: 190.1 kB / 435.7 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1417, allocations: 171.4 kB / 435.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.1419, allocations: 195 kB / 436 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.142, allocations: 32 kB / 436.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.674e-05/0.1421, allocations: 36 kB / 436.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.1421, allocations: 79.77 kB / 436.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1424, allocations: 207 kB / 436.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004835/0.1428, allocations: 442.7 kB / 436.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1429, allocations: 4 kB / 436.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1429, allocations: 0 / 436.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1429, allocations: 0 / 436.8 MB, free: 1.312 MB / 366.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.00108/0.144, allocations: 0.659 MB / 437.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.144, allocations: 11.89 kB / 437.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.579e-05/0.1441, allocations: 40.47 kB / 437.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.1445, allocations: 300.5 kB / 437.8 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.1446, allocations: 33.31 kB / 437.9 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-05/0.1447, allocations: 40.36 kB / 437.9 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/0.1454, allocations: 377.4 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.1454, allocations: 11.89 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.1455, allocations: 16 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1455, allocations: 12 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.146, allocations: 251.8 kB / 438.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1476, allocations: 1.113 MB / 439.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1482, allocations: 355.9 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.1484, allocations: 174.8 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1485, allocations: 4 kB / 440.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1485, allocations: 38.56 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.403e-06/0.1485, allocations: 0 / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003705/0.1522, allocations: 2.446 MB / 442.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1523, allocations: 106.8 kB / 442.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1526, allocations: 242.6 kB / 443 MB, free: 10.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1526, allocations: 37.7 kB / 443 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1527, allocations: 180.7 kB / 443.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.1529, allocations: 205 kB / 443.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.153, allocations: 86.2 kB / 443.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1531, allocations: 350.7 kB / 443.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.1534, allocations: 129 kB / 444 MB, free: 9.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.1537, allocations: 235.8 kB / 444.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.1543, allocations: 402 kB / 444.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1543, allocations: 0 / 444.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009281/0.1552, allocations: 0.5618 MB / 445.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1552, allocations: 4 kB / 445.2 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1552, allocations: 4 kB / 445.2 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/0.1556, allocations: 122.5 kB / 445.3 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.156, allocations: 103.9 kB / 445.4 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.16, allocations: 5.213 MB / 450.6 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.1602, allocations: 24.05 kB / 450.6 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1603, allocations: 20 kB / 450.6 MB, free: 2.434 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.0002085/0.1605, allocations: 161.7 kB / 450.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.1606, allocations: 35.62 kB / 450.8 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.393e-05/0.1607, allocations: 50.17 kB / 450.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1607, allocations: 4 kB / 450.9 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.1607, allocations: 7.938 kB / 450.9 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1608, allocations: 7.984 kB / 450.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.1626, allocations: 1.331 MB / 452.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1626, allocations: 0 / 452.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.163, allocations: 95.89 kB / 452.3 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.1633, allocations: 94.45 kB / 452.4 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.1633, allocations: 20.02 kB / 452.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2438/0.4072, allocations: 4.419 MB / 456.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4072, allocations: 6.5 kB / 456.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4083, allocations: 0.9256 MB / 457.8 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.4084, allocations: 105.5 kB / 457.9 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.4085, allocations: 15.72 kB / 457.9 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4087, allocations: 15.53 kB / 457.9 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.4088, allocations: 45.03 kB / 458 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4088, allocations: 22.66 kB / 458 MB, free: 48.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.409, allocations: 170.9 kB / 458.2 MB, free: 48.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.409, allocations: 0 / 458.2 MB, free: 48.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006953/0.4097, allocations: 123.3 kB / 458.3 MB, free: 48.27 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.0001221/0.4098, allocations: 109.4 kB / 458.4 MB, free: 48.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4109, allocations: 0.7916 MB / 459.2 MB, free: 47.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.411, allocations: 4.625 kB / 459.2 MB, free: 47.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.4116, allocations: 0.5793 MB / 459.8 MB, free: 47.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.4123, allocations: 65.17 kB / 459.8 MB, free: 47.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4139, allocations: 1.24 MB / 461.1 MB, free: 46.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.4142, allocations: 0.8256 MB / 461.9 MB, free: 46.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.4144, allocations: 33.23 kB / 461.9 MB, free: 46.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.4144, allocations: 31.25 kB / 461.9 MB, free: 46.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4144, allocations: 0 / 461.9 MB, free: 46.11 MB / 382.1 MB Notification: Performance of Templates: time 0.007709/0.4222, allocations: 4.413 MB / 466.4 MB, free: 45.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)