Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 8 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2638, allocations: 53.36 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006097/0.2699, allocations: 4.621 MB / 435.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.2728, allocations: 1.422 MB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.2732, allocations: 35.69 kB / 437.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.2736, allocations: 178.2 kB / 437.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.274, allocations: 170.3 kB / 437.5 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.2748, allocations: 375.3 kB / 437.9 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.2759, allocations: 0.9821 MB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.2764, allocations: 291.5 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.2769, allocations: 342.6 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.2773, allocations: 346 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.2774, allocations: 76 kB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.2777, allocations: 124 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2779, allocations: 175.3 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.2782, allocations: 425.5 kB / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2795, allocations: 1.113 MB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2795, allocations: 0 / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2795, allocations: 0 / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.2795, allocations: 0 / 441.7 MB, free: 12.15 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.001618/0.2811, allocations: 1.1 MB / 442.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2811, allocations: 11.97 kB / 442.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.2813, allocations: 126.9 kB / 443 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.2815, allocations: 123.3 kB / 443.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2825, allocations: 0.555 MB / 443.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.2826, allocations: 62 kB / 443.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2827, allocations: 83.95 kB / 443.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.284, allocations: 0.8481 MB / 444.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.2841, allocations: 15.91 kB / 444.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.2841, allocations: 36 kB / 444.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.2842, allocations: 24 kB / 444.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.285, allocations: 471.3 kB / 445.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.2891, allocations: 4.322 MB / 449.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.2898, allocations: 280.7 kB / 449.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.29, allocations: 137.5 kB / 449.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.2902, allocations: 20.36 kB / 449.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2902, allocations: 38.92 kB / 450 MB, free: 3.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.534e-06/0.2902, allocations: 0 / 450 MB, free: 3.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.0034/0.2936, allocations: 1.602 MB / 451.6 MB, free: 1.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.2936, allocations: 59.84 kB / 451.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.2943, allocations: 0.5393 MB / 452.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.2943, allocations: 33.7 kB / 452.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.2947, allocations: 483.8 kB / 452.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.2948, allocations: 222.1 kB / 452.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.295, allocations: 146.6 kB / 453 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2952, allocations: 382.8 kB / 453.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.2955, allocations: 161.9 kB / 453.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.296, allocations: 455.2 kB / 454 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.2968, allocations: 0.6673 MB / 454.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.2969, allocations: 4 kB / 454.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001203/0.2981, allocations: 0.7379 MB / 455.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.2981, allocations: 9 kB / 455.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.2981, allocations: 12 kB / 455.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.2983, allocations: 52.91 kB / 455.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.2989, allocations: 183.7 kB / 455.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3003, allocations: 1.578 MB / 457.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3007, allocations: 24 kB / 457.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.3007, allocations: 40 kB / 457.3 MB, free: 11.7 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.0003333/0.3011, allocations: 230.2 kB / 457.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3012, allocations: 83.45 kB / 457.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3013, allocations: 83.12 kB / 457.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3013, allocations: 8 kB / 457.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.3013, allocations: 3.938 kB / 457.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3013, allocations: 3.984 kB / 457.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.3034, allocations: 1.366 MB / 459.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3034, allocations: 4.125 kB / 459.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.3039, allocations: 124.2 kB / 459.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.304, allocations: 28.8 kB / 459.2 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.3041, allocations: 19.98 kB / 459.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3053, allocations: 1.267 MB / 460.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3053, allocations: 0 / 460.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3064, allocations: 0.792 MB / 461.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3065, allocations: 67.53 kB / 461.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.3066, allocations: 12 kB / 461.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3068, allocations: 16 kB / 461.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.3069, allocations: 39.86 kB / 461.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.3069, allocations: 20 kB / 461.5 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.3074, allocations: 371.1 kB / 461.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3074, allocations: 0 / 461.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006986/0.3081, allocations: 136 kB / 462 MB, free: 6.766 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.001484/0.3095, allocations: 1.336 MB / 463.3 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3106, allocations: 0.5676 MB / 463.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3106, allocations: 4 kB / 463.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.311, allocations: 296.3 kB / 464.2 MB, free: 4.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.3118, allocations: 107.7 kB / 464.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.3201, allocations: 6.08 MB / 470.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.3207, allocations: 0.9691 MB / 471.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.3209, allocations: 82.03 kB / 471.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.3214, allocations: 327.3 kB / 471.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3214, allocations: 0 / 471.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04803/0.3694, allocations: 12.5 MB / 484.2 MB, free: 176 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.68, allocations: 10.62 kB / 484.2 MB, free: 172 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mass2b.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.197350427999481]