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.00784/0.00784, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.001313/0.001313, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.629/1.629, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.3858/0.3858, allocations: 39.94 MB / 309.8 MB, free: 9.57 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.001919/0.001919, allocations: 67.91 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4204, allocations: 56.87 MB / 492.6 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.003971/0.4245, allocations: 2.204 MB / 494.8 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.4257, allocations: 0.7183 MB / 495.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.4259, allocations: 4.625 kB / 495.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.4261, allocations: 40.06 kB / 495.6 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.4262, allocations: 64.33 kB / 495.7 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.4266, allocations: 97.22 kB / 495.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.427, allocations: 251.2 kB / 496 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.4272, allocations: 66.95 kB / 496.1 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4273, allocations: 92.91 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.4275, allocations: 99.97 kB / 496.2 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.4275, allocations: 17.19 kB / 496.3 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.4275, allocations: 18.44 kB / 496.3 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.4276, allocations: 40.77 kB / 496.3 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4277, allocations: 113.7 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.4281, allocations: 245.5 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.4281, allocations: 0.75 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4281, allocations: 1.312 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4281, allocations: 0 / 496.7 MB, free: 16.67 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.0007692/0.4289, allocations: 0.5014 MB / 497.2 MB, free: 16.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.429, allocations: 14.14 kB / 497.2 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.429, allocations: 24.97 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4294, allocations: 245.2 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4294, allocations: 12.59 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.4295, allocations: 27.81 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.4299, allocations: 214.5 kB / 497.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.4299, allocations: 14.27 kB / 497.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.4299, allocations: 10.84 kB / 497.7 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4299, allocations: 9.266 kB / 497.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.4302, allocations: 117 kB / 497.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.4316, allocations: 1.024 MB / 498.9 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4318, allocations: 164.3 kB / 499 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.4319, allocations: 56.77 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.432, allocations: 5.688 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.432, allocations: 33.59 kB / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.432, allocations: 0 / 499.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003758/0.4324, allocations: 152.3 kB / 499.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4324, allocations: 131.8 kB / 499.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4326, allocations: 183.6 kB / 499.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4326, allocations: 27.48 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.4327, allocations: 161.5 kB / 499.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.4328, allocations: 63.48 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.4329, allocations: 51.55 kB / 499.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.4329, allocations: 323.7 kB / 0.4885 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.433, allocations: 52.22 kB / 0.4885 GB, free: 13.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4332, allocations: 151 kB / 0.4887 GB, free: 13.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.4334, allocations: 215.7 kB / 0.4889 GB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.4334, allocations: 1.125 kB / 0.4889 GB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003649/0.4338, allocations: 237.2 kB / 0.4891 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4338, allocations: 10.66 kB / 0.4891 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4339, allocations: 4.594 kB / 0.4891 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.4339, allocations: 6.484 kB / 0.4891 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4341, allocations: 62.83 kB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.4341, allocations: 6.234 kB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.4343, allocations: 33.78 kB / 0.4892 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.4343, allocations: 14.22 kB / 0.4892 GB, free: 13.22 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.0001053/0.4344, allocations: 141.7 kB / 0.4894 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.4345, allocations: 20.03 kB / 0.4894 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.4347, allocations: 82.05 kB / 0.4895 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4347, allocations: 2.281 kB / 0.4895 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4347, allocations: 1.312 kB / 0.4895 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4347, allocations: 2.422 kB / 0.4895 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.4351, allocations: 268.9 kB / 0.4897 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4352, allocations: 0 / 0.4897 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.4354, allocations: 42.33 kB / 0.4898 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4354, allocations: 2.094 kB / 0.4898 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.4354, allocations: 7.531 kB / 0.4898 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4354, allocations: 5.312 kB / 0.4898 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4354, allocations: 1.281 kB / 0.4898 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.4358, allocations: 484.5 kB / 0.4902 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.4359, allocations: 95.22 kB / 0.4903 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.4359, allocations: 6.938 kB / 0.4903 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.4361, allocations: 2.219 kB / 0.4903 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.4361, allocations: 17.5 kB / 0.4904 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4361, allocations: 5.078 kB / 0.4904 GB, free: 12.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4362, allocations: 130.2 kB / 0.4905 GB, free: 12.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4363, allocations: 5.031 kB / 0.4905 GB, free: 12.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.4367, allocations: 53.56 kB / 0.4906 GB, free: 12.13 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.0001058/0.4368, allocations: 113.5 kB / 0.4907 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.4371, allocations: 123.5 kB / 0.4908 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4371, allocations: 0 / 0.4908 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.4372, allocations: 56.17 kB / 0.4908 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007083/0.4379, allocations: 46.2 kB / 0.4909 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.4394, allocations: 0.7952 MB / 0.4917 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4398, allocations: 0.7412 MB / 0.4924 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.4399, allocations: 26.48 kB / 0.4924 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.44, allocations: 17.77 kB / 0.4924 GB, free: 10.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.44, allocations: 0 / 0.4924 GB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.006438/0.4464, allocations: 1.767 MB / 0.4941 GB, free: 10.44 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)