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.000965/0.0009648, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001045/0.001045, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4078/0.4078, allocations: 39.99 MB / 310.4 MB, free: 9.953 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.0006596/0.0006597, allocations: 15.98 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.131, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003255/0.1343, allocations: 2.397 MB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1358, allocations: 0.7295 MB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003368/0.1361, allocations: 15.88 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.1364, allocations: 39.64 kB / 440 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.1368, allocations: 103.1 kB / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1371, allocations: 71.92 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.1376, allocations: 414.4 kB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.1379, allocations: 133.4 kB / 440.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1381, allocations: 139.4 kB / 440.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1383, allocations: 167.2 kB / 441 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.1384, allocations: 20 kB / 441 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.638e-05/0.1384, allocations: 16 kB / 441 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1385, allocations: 63.77 kB / 441.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.1386, allocations: 97.45 kB / 441.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1389, allocations: 319.3 kB / 441.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1389, allocations: 0 / 441.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1389, allocations: 4 kB / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.139, allocations: 0 / 441.5 MB, free: 13.86 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.001066/0.14, allocations: 0.6082 MB / 442.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1401, allocations: 12.03 kB / 442.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.1402, allocations: 39.53 kB / 442.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1405, allocations: 283.3 kB / 442.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.1406, allocations: 29 kB / 442.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.1407, allocations: 47.84 kB / 442.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.1414, allocations: 381 kB / 442.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.1414, allocations: 7.938 kB / 442.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.1415, allocations: 19.94 kB / 442.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.1415, allocations: 12 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.142, allocations: 263.8 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1437, allocations: 1.113 MB / 444.3 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.1443, allocations: 355.9 kB / 444.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1447, allocations: 186.7 kB / 444.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1447, allocations: 8 kB / 444.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1448, allocations: 38.5 kB / 444.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.265e-06/0.1448, allocations: 0 / 444.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004006/0.1488, allocations: 2.466 MB / 447.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.1489, allocations: 110.8 kB / 447.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1491, allocations: 246.6 kB / 447.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.1492, allocations: 33.7 kB / 447.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1493, allocations: 180.7 kB / 447.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1494, allocations: 201 kB / 448.1 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1495, allocations: 12 kB / 448.1 MB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1497, allocations: 350.8 kB / 448.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.15, allocations: 133 kB / 448.6 MB, free: 6.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.1504, allocations: 231.8 kB / 448.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.1507, allocations: 171.8 kB / 448.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1507, allocations: 0 / 448.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000995/0.1517, allocations: 0.5694 MB / 449.5 MB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1518, allocations: 7.594 kB / 449.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.1518, allocations: 4.188 kB / 449.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.1522, allocations: 122.5 kB / 449.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.1526, allocations: 104 kB / 449.7 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.271/0.4235, allocations: 4.668 MB / 454.4 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.4241, allocations: 23.28 kB / 454.4 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.4241, allocations: 17.47 kB / 454.5 MB, free: 46.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.4244, allocations: 165 kB / 454.6 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4246, allocations: 45.28 kB / 454.7 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.4247, allocations: 53.2 kB / 454.7 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.4247, allocations: 6.125 kB / 454.7 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.4247, allocations: 2.938 kB / 454.7 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4248, allocations: 1.078 kB / 454.7 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4267, allocations: 1.333 MB / 456.1 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4267, allocations: 2.656 kB / 456.1 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.4271, allocations: 108.2 kB / 456.2 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/0.4274, allocations: 96.84 kB / 456.3 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.4274, allocations: 12.75 kB / 456.3 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.4297, allocations: 4.107 MB / 460.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4298, allocations: 2.625 kB / 460.4 MB, free: 42.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4309, allocations: 0.9395 MB / 461.3 MB, free: 42.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.431, allocations: 107.7 kB / 461.4 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.431, allocations: 15.98 kB / 461.4 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.4312, allocations: 21.69 kB / 461.5 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-05/0.4313, allocations: 39.64 kB / 461.5 MB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.4314, allocations: 17 kB / 461.5 MB, free: 42.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.4315, allocations: 182.2 kB / 461.7 MB, free: 42.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4316, allocations: 0 / 461.7 MB, free: 42.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006996/0.4323, allocations: 119.6 kB / 461.8 MB, free: 42.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.4324, allocations: 112.8 kB / 461.9 MB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4335, allocations: 0.7776 MB / 462.7 MB, free: 41.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4335, allocations: 0 / 462.7 MB, free: 41.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.4341, allocations: 0.5856 MB / 463.3 MB, free: 41.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.4347, allocations: 58.47 kB / 463.3 MB, free: 41.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.4364, allocations: 1.299 MB / 464.6 MB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4367, allocations: 0.8216 MB / 465.5 MB, free: 39.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.4368, allocations: 39.31 kB / 465.5 MB, free: 39.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.4369, allocations: 27.41 kB / 465.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4369, allocations: 0 / 465.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of Templates: time 0.007801/0.4447, allocations: 4.009 MB / 469.5 MB, free: 39.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: