Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.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.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, 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.001695/0.001695, allocations: 193 kB / 16.14 MB, free: 6.703 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.699/1.699, allocations: 205.1 MB / 222 MB, free: 4.77 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.3736/0.3736, allocations: 39.93 MB / 309.3 MB, free: 9.594 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.001528/0.001528, allocations: 66.41 kB / 376.9 MB, free: 13.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1739, allocations: 56.88 MB / 433.8 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004556/0.1785, allocations: 2.249 MB / 436 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.18, allocations: 0.7099 MB / 436.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1801, allocations: 11.94 kB / 436.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1803, allocations: 19.78 kB / 436.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1805, allocations: 59.55 kB / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1809, allocations: 83.89 kB / 436.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1813, allocations: 250.8 kB / 437.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1815, allocations: 64.48 kB / 437.2 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1817, allocations: 87.59 kB / 437.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1818, allocations: 99.55 kB / 437.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.1819, allocations: 12 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.1819, allocations: 8 kB / 437.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.182, allocations: 35.84 kB / 437.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1821, allocations: 111.5 kB / 437.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1824, allocations: 223.3 kB / 437.8 MB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1824, allocations: 0 / 437.8 MB, free: 432 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1824, allocations: 0 / 437.8 MB, free: 432 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1825, allocations: 0 / 437.8 MB, free: 432 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009327/0.1834, allocations: 0.5069 MB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.1835, allocations: 8.031 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.1835, allocations: 24.66 kB / 438.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.1839, allocations: 240.4 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1839, allocations: 20.75 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.184, allocations: 24.12 kB / 438.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.1844, allocations: 222.6 kB / 438.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.1844, allocations: 7.906 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1845, allocations: 8 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1845, allocations: 8 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.1847, allocations: 119.9 kB / 439 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.1863, allocations: 1.021 MB / 440 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.1866, allocations: 170.3 kB / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.1867, allocations: 47.5 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1867, allocations: 3.984 kB / 440.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1868, allocations: 54.44 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.1868, allocations: 0 / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000391/0.1872, allocations: 141.4 kB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/0.1873, allocations: 136.5 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1874, allocations: 179.1 kB / 440.7 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1875, allocations: 33.7 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1876, allocations: 152 kB / 440.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-05/0.1877, allocations: 71.08 kB / 441 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.1877, allocations: 49.7 kB / 441 MB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1879, allocations: 326.8 kB / 441.3 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.188, allocations: 39.97 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.1882, allocations: 154.6 kB / 441.5 MB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1885, allocations: 214.3 kB / 441.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1885, allocations: 0 / 441.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003151/0.1888, allocations: 241.2 kB / 442 MB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1888, allocations: 8 kB / 442 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1888, allocations: 7.984 kB / 442 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1888, allocations: 4 kB / 442 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.189, allocations: 60.11 kB / 442 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.1891, allocations: 11.98 kB / 442 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1892, allocations: 31.62 kB / 442.1 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1892, allocations: 12 kB / 442.1 MB, free: 11.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (31): * Single equations (assignments): 31 * 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.0001221/0.1894, allocations: 142 kB / 442.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.1894, allocations: 15.81 kB / 442.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.1896, allocations: 82.55 kB / 442.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1896, allocations: 4 kB / 442.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1896, allocations: 0 / 442.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1896, allocations: 0 / 442.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1901, allocations: 265.3 kB / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1901, allocations: 0 / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.1903, allocations: 47.92 kB / 442.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1904, allocations: 8 kB / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1904, allocations: 0 / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1904, allocations: 4 kB / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1904, allocations: 0 / 442.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.1908, allocations: 0.4889 MB / 443.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.1909, allocations: 100.9 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.1909, allocations: 0.5625 kB / 443.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.1911, allocations: 8 kB / 443.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1912, allocations: 7.984 kB / 443.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1912, allocations: 4 kB / 443.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1913, allocations: 133.2 kB / 443.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1913, allocations: 3.938 kB / 443.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.1917, allocations: 55.84 kB / 443.4 MB, free: 10.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.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 (15): * Single equations (assignments): 15 * 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.0001303/0.1919, allocations: 111.1 kB / 443.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.1921, allocations: 127.8 kB / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1921, allocations: 0 / 443.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.1922, allocations: 47.91 kB / 443.7 MB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.1929, allocations: 49.41 kB / 443.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1943, allocations: 0.8746 MB / 444.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1946, allocations: 0.7398 MB / 445.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.238e-05/0.1947, allocations: 21.94 kB / 445.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.1948, allocations: 23.44 kB / 445.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1948, allocations: 0 / 445.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of Templates: time 0.004907/0.1997, allocations: 1.654 MB / 447.1 MB, free: 6.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe 2>&1)