Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001987/0.001987, allocations: 192.3 kB / 16.25 MB, free: 6.625 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.652/1.652, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3314/0.3314, allocations: 39.93 MB / 309.4 MB, free: 9.039 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.001357/0.001357, allocations: 75.89 kB / 377.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 56.88 MB / 434 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004517/0.1739, allocations: 2.645 MB / 436.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1754, allocations: 0.6943 MB / 437.3 MB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1756, allocations: 4 kB / 437.3 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1759, allocations: 31.7 kB / 437.4 MB, free: 380 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1761, allocations: 79.33 kB / 437.4 MB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1764, allocations: 71.92 kB / 437.5 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.1767, allocations: 334.5 kB / 437.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.177, allocations: 86.06 kB / 437.9 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1771, allocations: 127.5 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1773, allocations: 127.4 kB / 438.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1774, allocations: 24 kB / 438.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.1774, allocations: 20 kB / 438.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1775, allocations: 63.7 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1777, allocations: 147.3 kB / 438.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1781, allocations: 298.8 kB / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1781, allocations: 0 / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1781, allocations: 0 / 438.7 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1782, allocations: 0 / 438.7 MB, free: 15.02 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001034/0.1792, allocations: 0.5769 MB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1792, allocations: 15.89 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.1793, allocations: 40.47 kB / 439.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1797, allocations: 259.6 kB / 439.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1797, allocations: 16.94 kB / 439.6 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.1798, allocations: 36.28 kB / 439.6 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.1802, allocations: 282.2 kB / 439.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1803, allocations: 4 kB / 439.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1803, allocations: 8 kB / 439.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1803, allocations: 8 kB / 439.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.1807, allocations: 179.8 kB / 440.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.1827, allocations: 1.314 MB / 441.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.1832, allocations: 250.3 kB / 441.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.1835, allocations: 103.5 kB / 441.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1835, allocations: 4 kB / 441.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.1836, allocations: 38.56 kB / 441.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.1836, allocations: 0 / 441.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002843/0.1864, allocations: 1.568 MB / 443.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1865, allocations: 132.5 kB / 443.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1868, allocations: 221 kB / 443.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1868, allocations: 29.7 kB / 443.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.187, allocations: 180.2 kB / 443.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.1871, allocations: 126.2 kB / 444.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1872, allocations: 66.12 kB / 444.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1875, allocations: 342.8 kB / 444.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.1877, allocations: 100.8 kB / 444.6 MB, free: 8.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.188, allocations: 233.5 kB / 444.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.1886, allocations: 373 kB / 445.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1886, allocations: 4 kB / 445.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007449/0.1894, allocations: 397.3 kB / 445.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1894, allocations: 4 kB / 445.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1894, allocations: 4 kB / 445.5 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.1895, allocations: 8 kB / 445.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.1898, allocations: 103.9 kB / 445.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1899, allocations: 9.094 kB / 445.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1901, allocations: 28.3 kB / 445.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1901, allocations: 16 kB / 445.7 MB, free: 7.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.1903, allocations: 157.6 kB / 445.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.1904, allocations: 31.66 kB / 445.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.1905, allocations: 37.7 kB / 445.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1905, allocations: 4 kB / 445.9 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1906, allocations: 0 / 445.9 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1906, allocations: 8 kB / 445.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.1922, allocations: 0.9815 MB / 446.9 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.1922, allocations: 4 kB / 446.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.1926, allocations: 79.88 kB / 447 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.1926, allocations: 4 kB / 447 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/0.1927, allocations: 16 kB / 447 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1927, allocations: 4 kB / 447 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1927, allocations: 0 / 447 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1938, allocations: 0.721 MB / 447.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.1939, allocations: 108.8 kB / 447.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.194, allocations: 11.94 kB / 447.9 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.1942, allocations: 23.98 kB / 447.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1943, allocations: 19.97 kB / 447.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1944, allocations: 8 kB / 447.9 MB, free: 5.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1945, allocations: 164.5 kB / 448.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1945, allocations: 0 / 448.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.195, allocations: 64 kB / 448.1 MB, free: 4.781 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.1951, allocations: 107.1 kB / 448.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.1958, allocations: 304.4 kB / 448.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1958, allocations: 0.8125 kB / 448.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.1961, allocations: 139.9 kB / 448.7 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.1967, allocations: 48.83 kB / 448.7 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.1985, allocations: 0.9804 MB / 449.7 MB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.1991, allocations: 0.7681 MB / 450.5 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.1993, allocations: 34.95 kB / 450.5 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.1993, allocations: 23.44 kB / 450.5 MB, free: 2.312 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1994, allocations: 0 / 450.5 MB, free: 2.312 MB / 382.1 MB Notification: Performance of Templates: time 0.005968/0.2053, allocations: 2.303 MB / 452.8 MB, free: 16 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)