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.001275/0.001275, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001362/0.001362, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.458/1.458, allocations: 230.5 MB / 254.8 MB, free: 15.1 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [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.001949/0.001949, allocations: 67.83 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 53.33 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003558/0.1119, allocations: 2.374 MB / 429.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1132, allocations: 0.7673 MB / 430.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1133, allocations: 11.94 kB / 430.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1135, allocations: 43.58 kB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.1137, allocations: 87.27 kB / 430.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1141, allocations: 115.7 kB / 430.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1144, allocations: 306.6 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1146, allocations: 44.73 kB / 430.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1147, allocations: 123.5 kB / 430.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1149, allocations: 123.4 kB / 431 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.1149, allocations: 20 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.1149, allocations: 24 kB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.115, allocations: 55.75 kB / 431.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1151, allocations: 123.4 kB / 431.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1154, allocations: 274.7 kB / 431.5 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1154, allocations: 0 / 431.5 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1154, allocations: 3.938 kB / 431.5 MB, free: 320 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1154, allocations: 4 kB / 431.5 MB, free: 316 kB / 350.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.1828/0.2982, allocations: 0.5475 MB / 432 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.2983, allocations: 10.06 kB / 432 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.2983, allocations: 57.62 kB / 432.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.2984, allocations: 31.53 kB / 432.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.2988, allocations: 255.1 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.2989, allocations: 18.16 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.2989, allocations: 21.95 kB / 432.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.2994, allocations: 240.1 kB / 432.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2994, allocations: 15.45 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2995, allocations: 10.16 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2995, allocations: 5.875 kB / 432.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.2998, allocations: 160.5 kB / 432.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3009, allocations: 1.017 MB / 433.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.3014, allocations: 276.4 kB / 434.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3016, allocations: 97.88 kB / 434.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3016, allocations: 6.031 kB / 434.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3016, allocations: 37.38 kB / 434.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.3016, allocations: 0 / 434.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001686/0.3033, allocations: 1.337 MB / 435.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3033, allocations: 140.5 kB / 435.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3035, allocations: 202.5 kB / 435.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3035, allocations: 33.64 kB / 436 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3036, allocations: 154.3 kB / 436.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.3036, allocations: 126.2 kB / 436.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.3037, allocations: 70.89 kB / 436.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.3038, allocations: 339.5 kB / 436.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.304, allocations: 81.02 kB / 436.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3042, allocations: 201.1 kB / 436.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.3046, allocations: 303.3 kB / 437.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3046, allocations: 1.062 kB / 437.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005463/0.3051, allocations: 343.7 kB / 437.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3051, allocations: 9.375 kB / 437.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3051, allocations: 3.438 kB / 437.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3052, allocations: 8.844 kB / 437.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.3055, allocations: 97.3 kB / 437.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3055, allocations: 6.281 kB / 437.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3057, allocations: 11.84 kB / 437.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3057, allocations: 21.75 kB / 437.7 MB, free: 7.641 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.0001071/0.3058, allocations: 155.8 kB / 437.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.404e-05/0.3059, allocations: 26.8 kB / 437.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.306, allocations: 33.91 kB / 437.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.306, allocations: 4.375 kB / 437.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.306, allocations: 1.75 kB / 437.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.306, allocations: 1.125 kB / 437.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3072, allocations: 0.9699 MB / 438.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3072, allocations: 4.797 kB / 438.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/0.3075, allocations: 81.08 kB / 439 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3075, allocations: 5.312 kB / 439 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3076, allocations: 9.344 kB / 439 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3076, allocations: 8.375 kB / 439 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3076, allocations: 3.188 kB / 439 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.3083, allocations: 0.714 MB / 439.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.3083, allocations: 98.8 kB / 439.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.3084, allocations: 10.06 kB / 439.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.3086, allocations: 10.66 kB / 439.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.3087, allocations: 32.08 kB / 439.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3087, allocations: 14.38 kB / 439.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3088, allocations: 145.9 kB / 440 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3088, allocations: 2.734 kB / 440 MB, free: 5.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.3093, allocations: 66.81 kB / 440.1 MB, free: 5.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0008274/0.3101, allocations: 1.238 MB / 441.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.3106, allocations: 231.5 kB / 441.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3106, allocations: 4.344 kB / 441.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3109, allocations: 124.5 kB / 441.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.3116, allocations: 70.2 kB / 441.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.3152, allocations: 3.488 MB / 445.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3155, allocations: 0.7598 MB / 446 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.3156, allocations: 33.69 kB / 446 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3158, allocations: 82.89 kB / 446.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3158, allocations: 0.5 kB / 446.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.3504, allocations: 5.819 MB / 451.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.624, allocations: 8.828 kB / 451.9 MB, free: 0.5703 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.166736392304301] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 8.696035858243704 8.711582039 8.593219251 Calling exit ...