Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.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.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007452/0.007452, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001759/0.001759, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.774/1.774, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.4005/0.4005, allocations: 39.95 MB / 309.8 MB, free: 9.676 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.001591/0.001591, allocations: 63.91 kB / 435.7 MB, free: 2.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4126, allocations: 56.88 MB / 492.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003479/0.4162, allocations: 2.255 MB / 494.9 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.4177, allocations: 0.7195 MB / 495.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.4178, allocations: 7.656 kB / 495.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.418, allocations: 37.25 kB / 495.6 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.4182, allocations: 71.38 kB / 495.7 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.4186, allocations: 97.28 kB / 495.8 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.4191, allocations: 257.8 kB / 496.1 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.4194, allocations: 71.3 kB / 496.1 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.4196, allocations: 100.8 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.4198, allocations: 103.5 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.4198, allocations: 17.97 kB / 496.3 MB, free: 17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.4199, allocations: 19.16 kB / 496.4 MB, free: 17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.42, allocations: 45.05 kB / 496.4 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.4201, allocations: 113.8 kB / 496.5 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.4206, allocations: 239 kB / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4206, allocations: 0 / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4206, allocations: 0 / 496.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4206, allocations: 1.219 kB / 496.8 MB, free: 16.82 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001036/0.4217, allocations: 0.533 MB / 497.3 MB, free: 16.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4217, allocations: 14.08 kB / 497.3 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.951e-05/0.4218, allocations: 24.94 kB / 497.3 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.4222, allocations: 242.2 kB / 497.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4223, allocations: 16.5 kB / 497.6 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.4223, allocations: 24.44 kB / 497.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.4228, allocations: 222.6 kB / 497.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.4228, allocations: 5.875 kB / 497.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.4228, allocations: 10.56 kB / 497.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.4228, allocations: 13.88 kB / 497.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.4231, allocations: 132.8 kB / 498 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.4246, allocations: 0.9947 MB / 499 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.4249, allocations: 229.6 kB / 499.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.4251, allocations: 74.7 kB / 499.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4251, allocations: 11.22 kB / 499.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4251, allocations: 41.95 kB / 499.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.4251, allocations: 0 / 499.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00131/0.4265, allocations: 1.013 MB / 0.4886 GB, free: 13.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.4265, allocations: 136.6 kB / 0.4887 GB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.4268, allocations: 193 kB / 0.4889 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4268, allocations: 31.86 kB / 0.489 GB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4269, allocations: 150.5 kB / 0.4891 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.427, allocations: 108.3 kB / 0.4892 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4271, allocations: 67.17 kB / 0.4893 GB, free: 13.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.4272, allocations: 335.6 kB / 0.4896 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4274, allocations: 64.77 kB / 0.4896 GB, free: 12.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.4276, allocations: 191.5 kB / 0.4898 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.4281, allocations: 268.6 kB / 0.4901 GB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4281, allocations: 1.281 kB / 0.4901 GB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005724/0.4287, allocations: 309.4 kB / 0.4904 GB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.4287, allocations: 7.984 kB / 0.4904 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4287, allocations: 8.109 kB / 0.4904 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4287, allocations: 5.562 kB / 0.4904 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.4291, allocations: 87.03 kB / 0.4905 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4291, allocations: 11.83 kB / 0.4905 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.4292, allocations: 22.38 kB / 0.4905 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.4293, allocations: 16 kB / 0.4905 GB, free: 12.4 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 (45): * Single equations (assignments): 45 * 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.0001419/0.4294, allocations: 150.5 kB / 0.4907 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.4295, allocations: 23.34 kB / 0.4907 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.4298, allocations: 105.4 kB / 0.4908 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4298, allocations: 3.875 kB / 0.4908 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4298, allocations: 1.531 kB / 0.4908 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4298, allocations: 6.891 kB / 0.4908 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.4308, allocations: 0.7726 MB / 0.4916 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4308, allocations: 3.75 kB / 0.4916 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.4312, allocations: 74.34 kB / 0.4916 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.4312, allocations: 6.75 kB / 0.4916 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.4312, allocations: 10.25 kB / 0.4917 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.4312, allocations: 3.406 kB / 0.4917 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.4312, allocations: 3.5 kB / 0.4917 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006214/0.4319, allocations: 0.6277 MB / 0.4923 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.4319, allocations: 94.72 kB / 0.4924 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.432, allocations: 9.016 kB / 0.4924 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4322, allocations: 8.812 kB / 0.4924 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.4323, allocations: 33.42 kB / 0.4924 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.4323, allocations: 7.75 kB / 0.4924 GB, free: 10.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.4324, allocations: 146 kB / 0.4926 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4324, allocations: 0 / 0.4926 GB, free: 10.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004602/0.4329, allocations: 56 kB / 0.4926 GB, free: 10.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (29): * Single equations (assignments): 29 * 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.0001044/0.433, allocations: 110.8 kB / 0.4927 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.4334, allocations: 202.5 kB / 0.4929 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4334, allocations: 1.062 kB / 0.4929 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.4335, allocations: 93.55 kB / 0.493 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.4342, allocations: 46.78 kB / 0.493 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4356, allocations: 0.9081 MB / 0.4939 GB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.4358, allocations: 0.7505 MB / 0.4947 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.4359, allocations: 27.89 kB / 0.4947 GB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.436, allocations: 23.27 kB / 0.4947 GB, free: 9.141 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.436, allocations: 0 / 0.4947 GB, free: 9.141 MB / 382.1 MB Notification: Performance of Templates: time 0.006309/0.4423, allocations: 2.276 MB / 0.4969 GB, free: 8.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe 2>&1)