Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.002478/0.002478, allocations: 177.3 kB / 15.94 MB, free: 228 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.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.4547/0.4547, allocations: 39.99 MB / 310.4 MB, free: 10.02 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.0005938/0.0005944, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1371, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003454/0.1406, allocations: 2.257 MB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1426, allocations: 0.7376 MB / 439.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.1431, allocations: 11.94 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.1433, allocations: 35.69 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.1438, allocations: 131.6 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1441, allocations: 67.92 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006064/0.1447, allocations: 295.4 kB / 440.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.145, allocations: 108.2 kB / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.1453, allocations: 147.5 kB / 440.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.1456, allocations: 155.3 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.1456, allocations: 20 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.1457, allocations: 20 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.1458, allocations: 55.77 kB / 440.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1459, allocations: 97.52 kB / 440.9 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1463, allocations: 311.3 kB / 441.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1463, allocations: 0 / 441.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1463, allocations: 3.938 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1463, allocations: 0 / 441.2 MB, free: 14.11 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009444/0.1473, allocations: 0.5926 MB / 441.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1473, allocations: 8.031 kB / 441.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1474, allocations: 39.53 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.1478, allocations: 271.2 kB / 442.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1478, allocations: 28.98 kB / 442.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.1479, allocations: 48 kB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.1486, allocations: 390.1 kB / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.1486, allocations: 7.906 kB / 442.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.1487, allocations: 16 kB / 442.6 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1487, allocations: 12 kB / 442.6 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.1491, allocations: 227.7 kB / 442.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1515, allocations: 1.727 MB / 444.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.152, allocations: 258.4 kB / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1521, allocations: 12.09 kB / 444.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.1521, allocations: 50.47 kB / 444.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.1521, allocations: 0 / 444.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006609/0.1528, allocations: 269.3 kB / 445.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1529, allocations: 213.6 kB / 445.3 MB, free: 9.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1532, allocations: 278.8 kB / 445.6 MB, free: 9.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1532, allocations: 33.8 kB / 445.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1534, allocations: 239.4 kB / 445.8 MB, free: 9.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.1535, allocations: 122.3 kB / 446 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.1535, allocations: 8 kB / 446 MB, free: 8.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1536, allocations: 342.8 kB / 446.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1538, allocations: 101.2 kB / 446.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.1543, allocations: 428.8 kB / 446.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1545, allocations: 175.8 kB / 447 MB, free: 7.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1546, allocations: 4 kB / 447 MB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007797/0.1553, allocations: 0.5241 MB / 447.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1554, allocations: 8.906 kB / 447.5 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.1554, allocations: 12 kB / 447.5 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.1554, allocations: 20 kB / 447.6 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.1559, allocations: 151.7 kB / 447.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.1559, allocations: 27.86 kB / 447.7 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.1562, allocations: 67.33 kB / 447.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1563, allocations: 36.45 kB / 447.8 MB, free: 6.898 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.1564, allocations: 177.5 kB / 448 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.1566, allocations: 31.72 kB / 448 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.1566, allocations: 33.78 kB / 448.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1567, allocations: 4.562 kB / 448.1 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.1567, allocations: 4 kB / 448.1 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1567, allocations: 7.984 kB / 448.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.158, allocations: 0.6474 MB / 448.7 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.158, allocations: 8.062 kB / 448.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.1584, allocations: 87.89 kB / 448.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1584, allocations: 4 kB / 448.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1585, allocations: 15.98 kB / 448.9 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1585, allocations: 7.938 kB / 448.9 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1585, allocations: 7.938 kB / 448.9 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.1593, allocations: 0.9369 MB / 449.8 MB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.1594, allocations: 108.8 kB / 449.9 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.1595, allocations: 12 kB / 449.9 MB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.1598, allocations: 11.98 kB / 449.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/0.1599, allocations: 23.97 kB / 450 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1599, allocations: 8 kB / 450 MB, free: 4.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1601, allocations: 190 kB / 450.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1601, allocations: 0 / 450.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007013/0.1608, allocations: 99.84 kB / 450.3 MB, free: 4.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.1609, allocations: 111.1 kB / 450.4 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000524/0.1615, allocations: 294.2 kB / 450.6 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1615, allocations: 4.062 kB / 450.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1616, allocations: 83.84 kB / 450.7 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.1623, allocations: 64.73 kB / 450.8 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1649, allocations: 1.907 MB / 452.7 MB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1653, allocations: 0.7994 MB / 453.5 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1655, allocations: 47.25 kB / 453.6 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1656, allocations: 27.44 kB / 453.6 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1656, allocations: 0 / 453.6 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of Templates: time 0.2128/0.3784, allocations: 2.636 MB / 456.2 MB, free: 47.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1) Environment - environmentSimulation: