Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.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.001286/0.001286, allocations: 117.9 kB / 18.5 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.001371/0.001371, allocations: 214.5 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.472/1.472, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper",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.001928/0.001928, allocations: 71.83 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 53.33 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004314/0.1128, allocations: 2.457 MB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.1134, allocations: 235.1 kB / 429.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1135, allocations: 11.94 kB / 429.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1137, allocations: 43.56 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1138, allocations: 83.28 kB / 429.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.114, allocations: 55.92 kB / 429.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1144, allocations: 298.6 kB / 430.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1147, allocations: 65.72 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1148, allocations: 119.6 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.115, allocations: 111.5 kB / 430.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.115, allocations: 24 kB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-05/0.1151, allocations: 24 kB / 430.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.1152, allocations: 55.78 kB / 430.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1153, allocations: 135.3 kB / 430.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.1157, allocations: 294.7 kB / 431 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1157, allocations: 0 / 431 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1157, allocations: 0 / 431 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1157, allocations: 0 / 431 MB, free: 0.8125 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008463/0.1165, allocations: 0.5533 MB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1166, allocations: 8.031 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.1167, allocations: 58.73 kB / 431.6 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1167, allocations: 32.75 kB / 431.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1805/0.2972, allocations: 239.8 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2972, allocations: 17.5 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.2973, allocations: 23.8 kB / 431.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.2977, allocations: 248.2 kB / 432.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2977, allocations: 3.312 kB / 432.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.2978, allocations: 10.17 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2978, allocations: 6.344 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.2981, allocations: 165.2 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.299, allocations: 0.7953 MB / 433.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.2994, allocations: 277.9 kB / 433.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2996, allocations: 127.6 kB / 433.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.2997, allocations: 3.125 kB / 433.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2997, allocations: 42.41 kB / 433.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.2997, allocations: 0 / 433.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002141/0.3018, allocations: 1.95 MB / 435.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3019, allocations: 111.9 kB / 435.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.302, allocations: 190.2 kB / 435.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.302, allocations: 31.55 kB / 435.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3021, allocations: 143 kB / 436 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.3022, allocations: 170.3 kB / 436.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.3023, allocations: 70.78 kB / 436.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.3023, allocations: 338.1 kB / 436.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3025, allocations: 93.5 kB / 436.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3026, allocations: 156.2 kB / 436.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3029, allocations: 276 kB / 437 MB, free: 7.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3029, allocations: 1.125 kB / 437.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004359/0.3034, allocations: 343 kB / 437.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3034, allocations: 11.12 kB / 437.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3034, allocations: 1.406 kB / 437.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3034, allocations: 8.25 kB / 437.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3037, allocations: 95.31 kB / 437.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3038, allocations: 3.594 kB / 437.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3039, allocations: 11.38 kB / 437.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.3039, allocations: 21.72 kB / 437.5 MB, free: 7.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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 9.774e-05/0.304, allocations: 152 kB / 437.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.3041, allocations: 25.92 kB / 437.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.887e-05/0.3041, allocations: 37.73 kB / 437.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3041, allocations: 9.344 kB / 437.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3041, allocations: 4.688 kB / 437.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3042, allocations: 4.703 kB / 437.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3053, allocations: 1.048 MB / 438.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3053, allocations: 7.688 kB / 438.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3057, allocations: 90.31 kB / 438.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3057, allocations: 5.031 kB / 438.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3057, allocations: 10.38 kB / 438.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.3057, allocations: 10.59 kB / 438.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3057, allocations: 2.875 kB / 438.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.3064, allocations: 0.718 MB / 439.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3064, allocations: 112.9 kB / 439.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3064, allocations: 14.5 kB / 439.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3066, allocations: 7.094 kB / 439.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.3067, allocations: 36.05 kB / 439.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.3067, allocations: 15.8 kB / 439.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.662e-05/0.3068, allocations: 139 kB / 440 MB, free: 6.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3068, allocations: 1.094 kB / 440 MB, free: 6.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.3072, allocations: 75.66 kB / 440 MB, free: 5.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (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 Backend phase and start with SimCode phase: time 0.0008191/0.3081, allocations: 1.282 MB / 441.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3085, allocations: 247.1 kB / 441.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3085, allocations: 1.406 kB / 441.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3087, allocations: 139.3 kB / 441.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006711/0.3094, allocations: 68.7 kB / 441.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3127, allocations: 3.284 MB / 445.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.313, allocations: 0.7719 MB / 445.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3131, allocations: 31.45 kB / 445.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3132, allocations: 100 kB / 446 MB, free: 1.578 MB / 350.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3132, allocations: 0 / 446 MB, free: 1.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3457, allocations: 5.985 MB / 451.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.688, allocations: 13.25 kB / 452 MB, free: 0.8672 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.158130264375359] Failed to read output from testmodel.py, exit status != 0: ['time', 'damper1.s_rel', 'damper1.v_rel', 'damper2.s_rel', 'damper2.v_rel', 'springDamper3.s_rel', 'springDamper3.v_rel'] 8.75927302800119 8.778700723 8.659916915 Calling exit ...