Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.4 MB / 258.1 MB, free: 8.125 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2173, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003482/0.2208, allocations: 2.382 MB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2221, allocations: 0.7712 MB / 435.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2222, allocations: 4 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2223, allocations: 35.59 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.2225, allocations: 95.25 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.2228, allocations: 119.7 kB / 435.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.2232, allocations: 302.7 kB / 435.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2233, allocations: 44.73 kB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.2235, allocations: 111.6 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.2236, allocations: 135.4 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.2237, allocations: 20 kB / 436.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.2237, allocations: 20 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.2238, allocations: 55.72 kB / 436.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2239, allocations: 131.3 kB / 436.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.2242, allocations: 268.4 kB / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2242, allocations: 0 / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2242, allocations: 0 / 436.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.2242, allocations: 0 / 436.5 MB, free: 2.902 MB / 334.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.0009474/0.2252, allocations: 0.561 MB / 437.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2252, allocations: 8.031 kB / 437.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.2253, allocations: 32.75 kB / 437.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.2256, allocations: 261.6 kB / 437.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.2256, allocations: 12.81 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.2257, allocations: 24.36 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.2261, allocations: 246.9 kB / 437.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.2261, allocations: 7.953 kB / 437.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.2262, allocations: 11.98 kB / 437.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.2262, allocations: 4 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.2265, allocations: 163.8 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2278, allocations: 1.009 MB / 438.8 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.2284, allocations: 282.1 kB / 439.1 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2286, allocations: 87.41 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2286, allocations: 8.5 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2287, allocations: 42.56 kB / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.392e-06/0.2287, allocations: 0 / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001992/0.2307, allocations: 1.341 MB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.2307, allocations: 136.5 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.2309, allocations: 202.8 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.231, allocations: 33.7 kB / 441 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2311, allocations: 152.7 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2312, allocations: 130.9 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.2313, allocations: 70.12 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2314, allocations: 342.8 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.2316, allocations: 80.83 kB / 441.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.2319, allocations: 190.1 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.2324, allocations: 305.5 kB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2324, allocations: 8 kB / 442.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006162/0.233, allocations: 341.2 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.233, allocations: 8 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.233, allocations: 4 kB / 442.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2331, allocations: 7.938 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.2334, allocations: 96.08 kB / 442.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.2334, allocations: 12 kB / 442.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.2336, allocations: 15.98 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.2336, allocations: 23.94 kB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001375/0.2338, allocations: 149.7 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2339, allocations: 23.86 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.234, allocations: 33.39 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.234, allocations: 4 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.234, allocations: 0 / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.234, allocations: 105 kB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2341, allocations: 7.938 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.2343, allocations: 12 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.2344, allocations: 19.97 kB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008933/0.2353, allocations: 0.5844 MB / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008796/0.2362, allocations: 0.7397 MB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002181/0.2364, allocations: 104.5 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.2365, allocations: 144.5 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Backend: time 2.61e-07/0.2365, allocations: 0 / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008481/0.2373, allocations: 248.1 kB / 444.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 0.00163/0.239, allocations: 1.337 MB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of Templates: time 0.007731/0.2467, allocations: 3.644 MB / 449.8 MB, free: 4.875 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.148110440000892] Failed to read output from testmodel.py, exit status != 0: 0.25503041222691536 0.268096481 0.040974859 Calling exit ...