Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 190.3 kB / 16.14 MB, free: 6.652 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.733/1.733, allocations: 205.1 MB / 222 MB, free: 4.746 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.4004/0.4004, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.00138/0.001381, allocations: 58.64 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 56.46 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00368/0.1436, allocations: 1.711 MB / 432.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.1441, allocations: 115.5 kB / 432.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1442, allocations: 4 kB / 432.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.651e-05/0.1443, allocations: 7.922 kB / 432.8 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1445, allocations: 35.75 kB / 432.9 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.1447, allocations: 23.94 kB / 432.9 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1448, allocations: 115.5 kB / 433 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.145, allocations: 33.09 kB / 433 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.1451, allocations: 43.8 kB / 433.1 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.1452, allocations: 51.78 kB / 433.1 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1452, allocations: 4 kB / 433.1 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.1453, allocations: 8 kB / 433.1 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.1453, allocations: 23.91 kB / 433.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.1454, allocations: 51.73 kB / 433.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1455, allocations: 123.9 kB / 433.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.1455, allocations: 0 / 433.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1456, allocations: 0 / 433.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1456, allocations: 0 / 433.3 MB, free: 4.715 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004999/0.1461, allocations: 407.4 kB / 433.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1461, allocations: 12.03 kB / 433.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.1462, allocations: 12.75 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1464, allocations: 188.3 kB / 434 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1464, allocations: 16.59 kB / 434 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.1464, allocations: 20.22 kB / 434 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1466, allocations: 121.6 kB / 434.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1467, allocations: 4.188 kB / 434.1 MB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1467, allocations: 11.88 kB / 434.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1467, allocations: 4 kB / 434.1 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1468, allocations: 59.95 kB / 434.2 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.1476, allocations: 0.5451 MB / 434.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1477, allocations: 89.16 kB / 434.8 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.1477, allocations: 25.72 kB / 434.8 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1478, allocations: 3.938 kB / 434.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1478, allocations: 38.56 kB / 434.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1478, allocations: 0 / 434.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005548/0.1484, allocations: 301.5 kB / 435.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1484, allocations: 84.98 kB / 435.3 MB, free: 2.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.222e-05/0.1485, allocations: 121.8 kB / 435.4 MB, free: 2.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1485, allocations: 33.69 kB / 435.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.1486, allocations: 127.5 kB / 435.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1487, allocations: 39.53 kB / 435.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1487, allocations: 25.72 kB / 435.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1488, allocations: 326.8 kB / 435.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.1489, allocations: 16 kB / 435.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.1489, allocations: 88.56 kB / 436 MB, free: 1.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1491, allocations: 120.8 kB / 436.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1491, allocations: 0 / 436.1 MB, free: 1.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002588/0.1493, allocations: 175.2 kB / 436.3 MB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1494, allocations: 8 kB / 436.3 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1494, allocations: 0 / 436.3 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.1495, allocations: 45.58 kB / 436.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.1496, allocations: 19.98 kB / 436.4 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.1514, allocations: 2.536 MB / 438.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.1514, allocations: 11.88 kB / 438.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1515, allocations: 8 kB / 438.9 MB, free: 14.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1516, allocations: 125.7 kB / 439.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.1516, allocations: 11.84 kB / 439.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1517, allocations: 23.98 kB / 439.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1517, allocations: 0 / 439.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1517, allocations: 4 kB / 439.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1517, allocations: 0 / 439.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1519, allocations: 193.7 kB / 439.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1519, allocations: 0 / 439.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.152, allocations: 19.97 kB / 439.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/0.1521, allocations: 33.7 kB / 439.3 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1521, allocations: 4 kB / 439.3 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.1538, allocations: 2.548 MB / 441.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1538, allocations: 3.938 kB / 441.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1541, allocations: 316.4 kB / 442.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1542, allocations: 81.02 kB / 442.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1542, allocations: 4 kB / 442.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.1543, allocations: 0 / 442.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.1543, allocations: 12.03 kB / 442.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.1543, allocations: 0 / 442.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.1544, allocations: 95.27 kB / 442.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 4 kB / 442.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1547, allocations: 39.84 kB / 442.4 MB, free: 10.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.972e-05/0.1548, allocations: 107.1 kB / 442.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.1552, allocations: 309.7 kB / 442.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1552, allocations: 0 / 442.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.1555, allocations: 257.3 kB / 443.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.156, allocations: 19.98 kB / 443.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.1567, allocations: 0.5087 MB / 443.6 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.157, allocations: 0.7122 MB / 444.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.1571, allocations: 8.875 kB / 444.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.1571, allocations: 11.44 kB / 444.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1571, allocations: 0 / 444.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of Templates: time 0.004013/0.1611, allocations: 1.464 MB / 445.8 MB, free: 7.105 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)