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.001273/0.001273, 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.001465/0.001465, allocations: 213.2 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001964/0.001964, allocations: 72.75 kB / 378.5 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006356/0.3523, allocations: 4.619 MB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00302/0.3553, allocations: 1.422 MB / 438 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.3556, allocations: 31.69 kB / 438 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.356, allocations: 178.2 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.3564, allocations: 166.3 kB / 438.3 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.3571, allocations: 391.2 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.3582, allocations: 0.9744 MB / 439.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.3587, allocations: 287.4 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.3592, allocations: 342.6 kB / 440.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.3596, allocations: 350 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.3597, allocations: 72 kB / 440.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.36, allocations: 119.9 kB / 440.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3601, allocations: 175.3 kB / 441 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.3605, allocations: 433.5 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.3618, allocations: 1.109 MB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3618, allocations: 11.88 kB / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3618, allocations: 0 / 442.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.3618, allocations: 0 / 442.5 MB, free: 12.19 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.001648/0.3634, allocations: 1.097 MB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3635, allocations: 12.03 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.3636, allocations: 119 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.3639, allocations: 119.3 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.3649, allocations: 0.5628 MB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.3649, allocations: 62 kB / 444.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.365, allocations: 83.95 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.3664, allocations: 0.8481 MB / 445.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.3665, allocations: 4 kB / 445.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/0.3665, allocations: 36 kB / 445.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.3666, allocations: 20 kB / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.3675, allocations: 479.2 kB / 446 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.3716, allocations: 4.318 MB / 450.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.3722, allocations: 300 kB / 450.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.3725, allocations: 129.5 kB / 450.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3726, allocations: 20.36 kB / 450.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3726, allocations: 34.94 kB / 450.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.544e-06/0.3726, allocations: 0 / 450.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.003401/0.376, allocations: 1.591 MB / 452.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.3761, allocations: 63.84 kB / 452.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.3768, allocations: 0.5393 MB / 452.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.3768, allocations: 37.7 kB / 453 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.3772, allocations: 491.8 kB / 453.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.3774, allocations: 222.1 kB / 453.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3776, allocations: 138.6 kB / 453.8 MB, free: 432 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.3778, allocations: 382.8 kB / 454.2 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.3781, allocations: 161.9 kB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.3787, allocations: 463.2 kB / 454.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.3796, allocations: 0.6634 MB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3796, allocations: 4 kB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001203/0.3808, allocations: 0.7386 MB / 456.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.3808, allocations: 12 kB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3808, allocations: 8 kB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.381, allocations: 48.84 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/0.3816, allocations: 179.7 kB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3831, allocations: 1.582 MB / 458 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3834, allocations: 31.98 kB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.3835, allocations: 40.06 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.0003357/0.3838, allocations: 235.2 kB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.616e-05/0.3839, allocations: 75.47 kB / 458.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.384, allocations: 79.08 kB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.384, allocations: 4 kB / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.384, allocations: 0 / 458.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3841, allocations: 3.984 kB / 458.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.3861, allocations: 1.389 MB / 459.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3861, allocations: 0 / 459.9 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3866, allocations: 111.9 kB / 460 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.3867, allocations: 32.78 kB / 460 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.3867, allocations: 12 kB / 460 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3878, allocations: 1.275 MB / 461.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3878, allocations: 7.938 kB / 461.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.389, allocations: 0.7804 MB / 462.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.389, allocations: 63.53 kB / 462.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3891, allocations: 19.98 kB / 462.2 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3893, allocations: 12 kB / 462.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.3894, allocations: 47.91 kB / 462.2 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3894, allocations: 19.98 kB / 462.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.3898, allocations: 363.1 kB / 462.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3898, allocations: 0 / 462.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000644/0.3905, allocations: 140 kB / 462.7 MB, free: 6.812 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.001467/0.392, allocations: 1.336 MB / 464.1 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.393, allocations: 0.5685 MB / 464.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.393, allocations: 8.125 kB / 464.7 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.3934, allocations: 298.5 kB / 464.9 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.394, allocations: 98.58 kB / 465 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.4024, allocations: 6.082 MB / 471.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.4031, allocations: 0.973 MB / 472.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.4033, allocations: 86.02 kB / 472.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.4037, allocations: 323.3 kB / 472.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.4038, allocations: 4 kB / 472.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.4536, allocations: 12.45 MB / 484.9 MB, free: 248 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.48, allocations: 7.922 kB / 485 MB, free: 240 kB / 382.1 MB " [Timeout remaining time 648] (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.79334517987445] 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.568328093271703 11.593200032 11.226644934 Calling exit ...