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.001338/0.001338, 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.001405/0.001405, allocations: 212.6 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.467/1.467, 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.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.002044/0.002044, allocations: 72.73 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3248, allocations: 53.36 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006352/0.3311, allocations: 4.633 MB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3344, allocations: 1.418 MB / 438 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005374/0.3349, allocations: 35.69 kB / 438 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3354, allocations: 178.2 kB / 438.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004203/0.3358, allocations: 170.3 kB / 438.3 MB, free: 428 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.3367, allocations: 383.3 kB / 438.7 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.3379, allocations: 0.9821 MB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.3384, allocations: 283.5 kB / 440 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.3389, allocations: 354.5 kB / 440.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.3393, allocations: 342 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3394, allocations: 72 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.3397, allocations: 120 kB / 440.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.3398, allocations: 179.2 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.3402, allocations: 425.5 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3415, allocations: 1.105 MB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3415, allocations: 0 / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3415, allocations: 8 kB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3415, allocations: 0 / 442.5 MB, free: 12.18 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.001725/0.3432, allocations: 1.097 MB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3433, allocations: 12.03 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.3434, allocations: 126.9 kB / 443.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.3437, allocations: 119.3 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3447, allocations: 0.5589 MB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.3447, allocations: 62 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3449, allocations: 83.95 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3462, allocations: 0.8481 MB / 445.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.3463, allocations: 7.938 kB / 445.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.3463, allocations: 35.98 kB / 445.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.3464, allocations: 24 kB / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.3473, allocations: 467.3 kB / 446 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.3515, allocations: 4.334 MB / 450.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.3521, allocations: 284.1 kB / 450.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3524, allocations: 133.5 kB / 450.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.3525, allocations: 8.375 kB / 450.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3525, allocations: 42.88 kB / 450.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.455e-06/0.3525, allocations: 0 / 450.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003542/0.3561, allocations: 1.595 MB / 452.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3561, allocations: 63.84 kB / 452.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.3568, allocations: 0.5432 MB / 453 MB, free: 1.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3569, allocations: 33.7 kB / 453 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.3572, allocations: 487.8 kB / 453.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/0.3574, allocations: 222.1 kB / 453.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3576, allocations: 142.6 kB / 453.8 MB, free: 424 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3578, allocations: 382.8 kB / 454.2 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.3581, allocations: 157.9 kB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.3587, allocations: 459.2 kB / 454.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.3596, allocations: 0.6673 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3596, allocations: 4 kB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00119/0.3607, allocations: 0.7426 MB / 456.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3608, allocations: 8 kB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3608, allocations: 11.98 kB / 456.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.361, allocations: 52.78 kB / 456.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.3616, allocations: 175.7 kB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3632, allocations: 1.59 MB / 458 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3635, allocations: 24 kB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.3635, allocations: 36 kB / 458.1 MB, free: 11.73 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.0003327/0.3639, allocations: 237.5 kB / 458.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.364, allocations: 83.45 kB / 458.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.3641, allocations: 75.08 kB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.3641, allocations: 4 kB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3641, allocations: 4 kB / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.3641, allocations: 4.172 kB / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.3662, allocations: 1.374 MB / 459.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3662, allocations: 7.938 kB / 459.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.3667, allocations: 123.8 kB / 460 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-05/0.3668, allocations: 20.86 kB / 460 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.3668, allocations: 15.98 kB / 460 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3679, allocations: 1.272 MB / 461.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3679, allocations: 4 kB / 461.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.3691, allocations: 0.7882 MB / 462.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3692, allocations: 63.53 kB / 462.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.3693, allocations: 16 kB / 462.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3695, allocations: 12 kB / 462.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.3696, allocations: 51.89 kB / 462.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3696, allocations: 16 kB / 462.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005015/0.3701, allocations: 367.1 kB / 462.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3701, allocations: 0 / 462.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.3708, allocations: 140 kB / 462.7 MB, free: 6.801 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.001455/0.3723, allocations: 1.332 MB / 464.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.3733, allocations: 0.5725 MB / 464.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3733, allocations: 4.125 kB / 464.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.3738, allocations: 294.5 kB / 464.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.3744, allocations: 95.08 kB / 465 MB, free: 4.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.3829, allocations: 6.084 MB / 471.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.3836, allocations: 0.9691 MB / 472.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.3839, allocations: 90 kB / 472.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004127/0.3843, allocations: 327.3 kB / 472.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3843, allocations: 3.938 kB / 472.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.4312, allocations: 12.43 MB / 484.9 MB, free: 248 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.34, allocations: 0 / 484.9 MB, free: 248 kB / 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.88383138505742] 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.433980064932257 11.450798816 11.105915187 Calling exit ...