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.001435/0.001435, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 197 kB / 16.53 MB, free: 6.664 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.822/1.822, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.4031/0.4031, allocations: 39.94 MB / 309.7 MB, free: 9.324 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.001826/0.001826, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1718, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.004236/0.1761, allocations: 2.188 MB / 436.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1777, allocations: 0.7255 MB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1778, allocations: 4 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.178, allocations: 35.59 kB / 437.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1781, allocations: 67.41 kB / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1786, allocations: 95.81 kB / 437.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.1789, allocations: 250.8 kB / 437.8 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1791, allocations: 72.17 kB / 437.9 MB, free: 244 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1792, allocations: 87.66 kB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1794, allocations: 99.55 kB / 438.1 MB, free: 56 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1794, allocations: 20 kB / 438.1 MB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.1795, allocations: 16 kB / 438.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.1796, allocations: 51.83 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1797, allocations: 111.5 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.18, allocations: 239.3 kB / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.18, allocations: 0 / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.18, allocations: 0 / 438.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.18, allocations: 0 / 438.5 MB, free: 15.62 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000832/0.1809, allocations: 0.5023 MB / 439 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1809, allocations: 15.89 kB / 439 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.181, allocations: 24.66 kB / 439.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1813, allocations: 236.4 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1813, allocations: 20.81 kB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.1814, allocations: 28.11 kB / 439.3 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.1817, allocations: 222.7 kB / 439.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1818, allocations: 7.906 kB / 439.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1818, allocations: 12 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1818, allocations: 4 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.182, allocations: 119.8 kB / 439.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.1836, allocations: 1.033 MB / 440.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1839, allocations: 166.4 kB / 440.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.184, allocations: 47.47 kB / 440.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.184, allocations: 7.922 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.1841, allocations: 38.56 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.1841, allocations: 4 kB / 441 MB, free: 12.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004357/0.1845, allocations: 141.3 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/0.1846, allocations: 136.5 kB / 441.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1848, allocations: 179.1 kB / 441.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1849, allocations: 29.7 kB / 441.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.185, allocations: 163.9 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.1851, allocations: 59.11 kB / 441.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.1851, allocations: 45.83 kB / 441.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1853, allocations: 334.8 kB / 442.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.1854, allocations: 39.98 kB / 442.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1855, allocations: 154.5 kB / 442.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1858, allocations: 218.4 kB / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1858, allocations: 0 / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003413/0.1861, allocations: 233.2 kB / 442.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1862, allocations: 15.97 kB / 442.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.1862, allocations: 12 kB / 442.7 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1862, allocations: 4 kB / 442.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.1864, allocations: 63.91 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.1864, allocations: 11.94 kB / 442.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1866, allocations: 27.69 kB / 442.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1866, allocations: 8 kB / 442.8 MB, free: 10.88 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.0001465/0.1867, allocations: 141.7 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.1868, allocations: 19.81 kB / 443 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.187, allocations: 82.55 kB / 443.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.187, allocations: 4 kB / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.187, allocations: 0 / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1871, allocations: 0 / 443.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.1876, allocations: 265.3 kB / 443.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1876, allocations: 0 / 443.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.1878, allocations: 47.97 kB / 443.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1878, allocations: 0 / 443.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1878, allocations: 4 kB / 443.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1879, allocations: 0 / 443.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1879, allocations: 8 kB / 443.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.1883, allocations: 492.6 kB / 443.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.1884, allocations: 96.91 kB / 444 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.1884, allocations: 7.938 kB / 444 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1886, allocations: 8 kB / 444 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1887, allocations: 11.98 kB / 444 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1887, allocations: 4 kB / 444 MB, free: 9.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1888, allocations: 129.2 kB / 444.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1888, allocations: 0 / 444.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004496/0.1893, allocations: 55.84 kB / 444.2 MB, free: 9.426 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.0001467/0.1894, allocations: 111 kB / 444.3 MB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.1897, allocations: 132.2 kB / 444.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1897, allocations: 0 / 444.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.1898, allocations: 48.55 kB / 444.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.1906, allocations: 48.27 kB / 444.5 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1922, allocations: 0.7998 MB / 445.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.1927, allocations: 0.7437 MB / 446 MB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1929, allocations: 21.95 kB / 446.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.193, allocations: 15.44 kB / 446.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.193, allocations: 0 / 446.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of Templates: time 0.005817/0.1988, allocations: 1.737 MB / 447.8 MB, free: 5.711 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)