Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.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.001251/0.001251, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001388/0.001388, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001961/0.001961, allocations: 64.77 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 53.38 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00386/0.2898, allocations: 2.517 MB / 434.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005301/0.2903, allocations: 259 kB / 434.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2904, allocations: 7.938 kB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2906, allocations: 39.58 kB / 434.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2908, allocations: 91.19 kB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.2909, allocations: 63.91 kB / 434.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.2913, allocations: 326.5 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.2915, allocations: 71.58 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2916, allocations: 127.5 kB / 435.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.2918, allocations: 131.4 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.2918, allocations: 24 kB / 435.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.2919, allocations: 24 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.2919, allocations: 59.77 kB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2921, allocations: 147.3 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.2924, allocations: 315.5 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2924, allocations: 0 / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2924, allocations: 0 / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2924, allocations: 4 kB / 436.1 MB, free: 2.703 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008465/0.2933, allocations: 0.4976 MB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2933, allocations: 8.031 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.91e-05/0.2934, allocations: 62.73 kB / 436.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.2935, allocations: 36.75 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.2938, allocations: 194.1 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.2938, allocations: 17.03 kB / 436.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.2939, allocations: 32.31 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.2944, allocations: 260.3 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2944, allocations: 3.938 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.2944, allocations: 12 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.2944, allocations: 8 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.2947, allocations: 175.9 kB / 437.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2958, allocations: 0.7063 MB / 438.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.2962, allocations: 265.3 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.2964, allocations: 121.6 kB / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2965, allocations: 4 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2965, allocations: 42.5 kB / 438.5 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.323e-06/0.2965, allocations: 0 / 438.5 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.00265/0.2991, allocations: 1.424 MB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.2992, allocations: 81.11 kB / 440 MB, free: 14.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.2994, allocations: 188.7 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.2994, allocations: 29.7 kB / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.2995, allocations: 140.8 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2997, allocations: 186.4 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2998, allocations: 78.19 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2999, allocations: 342.8 kB / 440.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3001, allocations: 101 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3003, allocations: 156.8 kB / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.3008, allocations: 274.2 kB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3008, allocations: 4 kB / 441.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005576/0.3013, allocations: 381.8 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3013, allocations: 4 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3013, allocations: 0 / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3014, allocations: 4 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.3017, allocations: 99.89 kB / 441.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3018, allocations: 4 kB / 442 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.3019, allocations: 12 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.3019, allocations: 12 kB / 442 MB, free: 12.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001549/0.3021, allocations: 157.8 kB / 442.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.3021, allocations: 35.73 kB / 442.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.3022, allocations: 41.97 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3022, allocations: 4 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3022, allocations: 0 / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3022, allocations: 3.984 kB / 442.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3035, allocations: 0.9078 MB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3035, allocations: 3.984 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.304, allocations: 95.91 kB / 443.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.304, allocations: 7.938 kB / 443.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.304, allocations: 12 kB / 443.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.304, allocations: 3.984 kB / 443.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.304, allocations: 7.938 kB / 443.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.3048, allocations: 0.6395 MB / 443.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3049, allocations: 23.8 kB / 443.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.3049, allocations: 12 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3051, allocations: 8 kB / 443.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.3051, allocations: 27.94 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3052, allocations: 23.94 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3053, allocations: 131.3 kB / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3053, allocations: 0 / 444.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.3056, allocations: 80 kB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (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 Backend phase and start with SimCode phase: time 0.001177/0.3068, allocations: 1.195 MB / 445.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3073, allocations: 283.6 kB / 445.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3073, allocations: 0 / 445.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.3075, allocations: 147.6 kB / 445.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.3081, allocations: 68.14 kB / 445.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.3123, allocations: 3.278 MB / 449.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.3127, allocations: 0.7804 MB / 449.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3129, allocations: 34.97 kB / 450 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.313, allocations: 99.41 kB / 450.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.313, allocations: 0 / 450.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.3479, allocations: 6.413 MB / 456.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.403, allocations: 7.234 kB / 456.5 MB, free: 13.82 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --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_InitialConditions.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.869609254878014] Failed to read output from testmodel.py, exit status != 0: ['time', 'm1.s', 'm1.v', 'm3.s', 'm3.v', 'sd1.s_rel', 'sd1.v_rel', 'sd2.s_rel', 'sd2.v_rel'] 8.473246107809246 8.487845691 8.192353492 Calling exit ...