Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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.001597/0.001597, allocations: 116.8 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.00198/0.00198, allocations: 212.9 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.503/1.503, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",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.002008/0.002008, allocations: 71.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006024/0.1162, allocations: 4.609 MB / 431.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1862/0.3024, allocations: 1.398 MB / 433 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.303, allocations: 34.91 kB / 433 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3034, allocations: 175.7 kB / 433.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.3037, allocations: 163.3 kB / 433.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.3046, allocations: 377 kB / 433.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009248/0.3055, allocations: 0.9823 MB / 434.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.3059, allocations: 284.5 kB / 435 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006226/0.3066, allocations: 347.5 kB / 435.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.3069, allocations: 345.7 kB / 435.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3071, allocations: 72.12 kB / 435.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.3074, allocations: 120.9 kB / 435.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3075, allocations: 180 kB / 436 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003919/0.3079, allocations: 425 kB / 436.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.3097, allocations: 1.114 MB / 437.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3097, allocations: 1.922 kB / 437.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3097, allocations: 0.9375 kB / 437.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.537e-05/0.3098, allocations: 0 / 437.6 MB, free: 6.34 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002076/0.3118, allocations: 1.169 MB / 438.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.3119, allocations: 9.25 kB / 438.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3121, allocations: 128.3 kB / 438.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/0.3124, allocations: 121.9 kB / 439 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3135, allocations: 0.6311 MB / 439.6 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.3135, allocations: 58.56 kB / 439.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3137, allocations: 83.42 kB / 439.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.315, allocations: 0.8516 MB / 440.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.3151, allocations: 10.95 kB / 440.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.3151, allocations: 32.91 kB / 440.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.3152, allocations: 22.69 kB / 440.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.3161, allocations: 473.5 kB / 441.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.3197, allocations: 4.384 MB / 445.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.3203, allocations: 286.5 kB / 445.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.3206, allocations: 128.9 kB / 445.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.3207, allocations: 175.8 kB / 446.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3208, allocations: 33.67 kB / 446.1 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.355e-06/0.3208, allocations: 0 / 446.1 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003988/0.3248, allocations: 1.753 MB / 447.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.3248, allocations: 62.22 kB / 448 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/0.3256, allocations: 0.5407 MB / 448.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.3256, allocations: 36.58 kB / 448.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.326, allocations: 490.5 kB / 449 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.3262, allocations: 221.4 kB / 449.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.3264, allocations: 143.1 kB / 449.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.3267, allocations: 382.9 kB / 449.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3271, allocations: 162.9 kB / 449.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.3276, allocations: 461.4 kB / 450.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.3286, allocations: 0.6591 MB / 451 MB, free: 12.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.3286, allocations: 3.781 kB / 451 MB, free: 12.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001389/0.33, allocations: 0.744 MB / 451.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.33, allocations: 8.469 kB / 451.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.33, allocations: 9.812 kB / 451.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.3302, allocations: 52.91 kB / 451.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.3308, allocations: 182.8 kB / 452 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3325, allocations: 1.686 MB / 453.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.3329, allocations: 25.67 kB / 453.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.333, allocations: 42.22 kB / 453.8 MB, free: 10.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.3334, allocations: 228.8 kB / 454 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.3335, allocations: 77.25 kB / 454.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.3337, allocations: 80.97 kB / 454.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.3337, allocations: 8.188 kB / 454.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.3337, allocations: 0 / 454.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3337, allocations: 4.297 kB / 454.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.336, allocations: 1.414 MB / 455.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.336, allocations: 5.469 kB / 455.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.3365, allocations: 113.9 kB / 455.7 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.083e-05/0.3366, allocations: 31.84 kB / 455.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.3366, allocations: 14.67 kB / 455.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.3377, allocations: 1.383 MB / 457.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3377, allocations: 3.5 kB / 457.1 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.339, allocations: 0.7811 MB / 457.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.3391, allocations: 141.6 kB / 458 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.3392, allocations: 14.06 kB / 458 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3394, allocations: 15.02 kB / 458.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.3395, allocations: 44.19 kB / 458.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3395, allocations: 18.33 kB / 458.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004709/0.34, allocations: 368.4 kB / 458.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.34, allocations: 192 / 458.5 MB, free: 7.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007294/0.3407, allocations: 138.7 kB / 458.6 MB, free: 7.148 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.3422, allocations: 1.339 MB / 460 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3433, allocations: 0.5681 MB / 460.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3433, allocations: 1.781 kB / 460.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.3438, allocations: 302 kB / 460.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.3444, allocations: 100.6 kB / 460.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/0.3532, allocations: 6.074 MB / 467 MB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.3538, allocations: 0.9651 MB / 468 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003022/0.3541, allocations: 85 kB / 468 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.3546, allocations: 326.3 kB / 468.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3546, allocations: 0 / 468.4 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.4032, allocations: 11.99 MB / 480.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.26, allocations: 7.938 kB / 480.4 MB, free: 9.188 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_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_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.820954537950456] Failed to read output from testmodel.py, exit status != 0: ['time', 'directMass.mass.s', 'directMass.mass.v', 'mass2a.s', 'mass2a.v', 'mass2b.s', 'mass2b.v', 'mass3a.s', 'mass3a.v', 'mass3b.s', 'mass3b.v'] 11.354690694250166 11.378309 11.063947487 Calling exit ...