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.001298/0.001298, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001375/0.001375, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.449/1.449, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.001927/0.001927, allocations: 75.83 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1082, allocations: 53.32 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006193/0.1144, allocations: 4.608 MB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2217/0.3362, allocations: 1.393 MB / 432.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.3365, allocations: 24.88 kB / 432.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.3369, allocations: 183.3 kB / 433.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3372, allocations: 164 kB / 433.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.3379, allocations: 380.8 kB / 433.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009121/0.3388, allocations: 0.9769 MB / 434.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.3393, allocations: 281.4 kB / 434.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.3397, allocations: 336.1 kB / 435.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.34, allocations: 346.1 kB / 435.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.3401, allocations: 75.5 kB / 435.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.3404, allocations: 125.2 kB / 435.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.3405, allocations: 174.7 kB / 435.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.3407, allocations: 427.1 kB / 436.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3419, allocations: 1.112 MB / 437.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3419, allocations: 3.938 kB / 437.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3419, allocations: 0 / 437.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.342, allocations: 2.125 kB / 437.4 MB, free: 6.199 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.001569/0.3435, allocations: 1.172 MB / 438.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3436, allocations: 9.625 kB / 438.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.3437, allocations: 124.7 kB / 438.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.344, allocations: 118.9 kB / 438.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.345, allocations: 0.6341 MB / 439.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.345, allocations: 58.66 kB / 439.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3451, allocations: 88.66 kB / 439.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3464, allocations: 0.8466 MB / 440.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.3464, allocations: 5.375 kB / 440.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.3465, allocations: 38.31 kB / 440.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.3465, allocations: 20.5 kB / 440.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.3474, allocations: 482.1 kB / 441 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.3505, allocations: 4.386 MB / 445.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3511, allocations: 285.9 kB / 445.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3513, allocations: 128.2 kB / 445.8 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.3515, allocations: 171.5 kB / 446 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3515, allocations: 37.7 kB / 446 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.844e-06/0.3515, allocations: 0.5312 kB / 446 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003777/0.3553, allocations: 1.739 MB / 447.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.3553, allocations: 62.02 kB / 447.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.3562, allocations: 0.5412 MB / 448.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.3562, allocations: 39.77 kB / 448.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.3567, allocations: 489.7 kB / 448.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3569, allocations: 223.5 kB / 449.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3571, allocations: 140.3 kB / 449.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002805/0.3574, allocations: 382.8 kB / 449.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3577, allocations: 162.5 kB / 449.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.3584, allocations: 455.7 kB / 450.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3594, allocations: 0.669 MB / 450.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.3594, allocations: 3.812 kB / 450.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001305/0.3607, allocations: 0.7381 MB / 451.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3607, allocations: 9.406 kB / 451.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.3608, allocations: 10.02 kB / 451.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.361, allocations: 47.16 kB / 451.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.3615, allocations: 178.8 kB / 451.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.3633, allocations: 1.693 MB / 453.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.3637, allocations: 27.72 kB / 453.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.3638, allocations: 34.25 kB / 453.6 MB, free: 10.45 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.0004136/0.3642, allocations: 247.8 kB / 453.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3643, allocations: 76.94 kB / 453.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.3644, allocations: 77.14 kB / 454 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3645, allocations: 5.688 kB / 454 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.3645, allocations: 1 kB / 454 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3645, allocations: 4.891 kB / 454 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3668, allocations: 1.413 MB / 455.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3668, allocations: 6.5 kB / 455.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.3673, allocations: 114.5 kB / 455.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.304e-05/0.3674, allocations: 19.83 kB / 455.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.3674, allocations: 15.45 kB / 455.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.3685, allocations: 1.377 MB / 457 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3685, allocations: 12.09 kB / 457 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.3696, allocations: 0.7802 MB / 457.7 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.3698, allocations: 137.3 kB / 457.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.3698, allocations: 15.53 kB / 457.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3701, allocations: 18.53 kB / 457.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3702, allocations: 52.06 kB / 458 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3702, allocations: 16.98 kB / 458 MB, free: 7.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004723/0.3707, allocations: 361.8 kB / 458.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3707, allocations: 0 / 458.3 MB, free: 7.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007413/0.3714, allocations: 137.2 kB / 458.5 MB, free: 6.992 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.001498/0.3729, allocations: 1.341 MB / 459.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3741, allocations: 0.568 MB / 460.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3741, allocations: 1.656 kB / 460.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3746, allocations: 304.4 kB / 460.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.3753, allocations: 94.47 kB / 460.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.3846, allocations: 6.078 MB / 466.8 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.3853, allocations: 0.9674 MB / 467.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.3856, allocations: 85.48 kB / 467.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.3859, allocations: 325.2 kB / 468.2 MB, free: 444 kB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3859, allocations: 4 kB / 468.2 MB, free: 440 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04651/0.4325, allocations: 11.99 MB / 480.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.32, allocations: 4.062 kB / 480.2 MB, free: 9.098 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.647846499923617] 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.412776907905936 11.427050825 11.082135908 Calling exit ...