Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001374/0.001374, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001494/0.001494, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 59.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2438, allocations: 53.4 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005995/0.2498, allocations: 4.128 MB / 435.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2524, allocations: 1.352 MB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.253, allocations: 35.69 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.2535, allocations: 178.2 kB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.254, allocations: 166.3 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.2549, allocations: 387.4 kB / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.2561, allocations: 0.9821 MB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.2566, allocations: 263.2 kB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.2571, allocations: 346.6 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.2575, allocations: 309.9 kB / 439.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2576, allocations: 72 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.2579, allocations: 119.9 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.258, allocations: 175.3 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.2583, allocations: 338.1 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.2594, allocations: 1.114 MB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2594, allocations: 0 / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2594, allocations: 0 / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2595, allocations: 4 kB / 441 MB, free: 12.47 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.001555/0.261, allocations: 1.093 MB / 442.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.261, allocations: 15.97 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.2612, allocations: 131 kB / 442.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.2614, allocations: 119.3 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009963/0.2624, allocations: 0.555 MB / 442.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.2625, allocations: 62 kB / 443 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2626, allocations: 83.94 kB / 443.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.2639, allocations: 0.8521 MB / 443.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.2639, allocations: 7.938 kB / 444 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.264, allocations: 32 kB / 444 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.264, allocations: 24 kB / 444 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.2649, allocations: 463.3 kB / 444.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.2689, allocations: 4.178 MB / 448.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.2695, allocations: 280.8 kB / 448.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.2697, allocations: 133.5 kB / 449 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.2699, allocations: 16.38 kB / 449.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.2699, allocations: 34.94 kB / 449.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.535e-06/0.2699, allocations: 4 kB / 449.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.005085/0.275, allocations: 1.598 MB / 450.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.275, allocations: 63.84 kB / 450.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.2761, allocations: 0.5431 MB / 451.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.2761, allocations: 41.7 kB / 451.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.2766, allocations: 495.7 kB / 451.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.2768, allocations: 222.1 kB / 452 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.277, allocations: 142.6 kB / 452.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.2772, allocations: 378.8 kB / 452.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.2775, allocations: 157.9 kB / 452.7 MB, free: 308 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.2781, allocations: 459.2 kB / 453.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.2796, allocations: 0.6634 MB / 453.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.2796, allocations: 12 kB / 453.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00208/0.2817, allocations: 0.7387 MB / 454.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.2817, allocations: 8 kB / 454.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.2818, allocations: 20.05 kB / 454.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.282, allocations: 48.84 kB / 454.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.283, allocations: 179.7 kB / 454.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.2851, allocations: 1.57 MB / 456.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.2857, allocations: 32 kB / 456.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.2858, allocations: 32 kB / 456.5 MB, free: 12.17 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.0005087/0.2863, allocations: 242 kB / 456.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.2865, allocations: 75.47 kB / 456.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.2867, allocations: 79.06 kB / 456.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2867, allocations: 4 kB / 456.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.2867, allocations: 4 kB / 456.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2867, allocations: 192 / 456.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.29, allocations: 1.277 MB / 458.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.29, allocations: 7.984 kB / 458.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/0.2909, allocations: 115.8 kB / 458.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.291, allocations: 24.84 kB / 458.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.291, allocations: 16 kB / 458.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.2924, allocations: 1.264 MB / 459.5 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.2925, allocations: 7.938 kB / 459.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.2942, allocations: 0.788 MB / 460.3 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.2944, allocations: 63.52 kB / 460.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2945, allocations: 15.94 kB / 460.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2949, allocations: 20.12 kB / 460.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.295, allocations: 47.89 kB / 460.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.295, allocations: 16 kB / 460.5 MB, free: 7.844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007054/0.2957, allocations: 363.1 kB / 460.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2957, allocations: 0 / 460.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001146/0.2969, allocations: 136 kB / 461 MB, free: 7.363 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.00218/0.2991, allocations: 1.336 MB / 462.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.3006, allocations: 0.5686 MB / 462.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3006, allocations: 7.938 kB / 462.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.3013, allocations: 294.5 kB / 463.2 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3023, allocations: 108.4 kB / 463.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.3157, allocations: 6.082 MB / 469.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.3163, allocations: 374.2 kB / 469.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000457/0.3168, allocations: 90.02 kB / 469.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/0.3174, allocations: 327.2 kB / 470.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3174, allocations: 0 / 470.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04875/0.3662, allocations: 12.57 MB / 482.7 MB, free: 1.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.39, allocations: 18.16 kB / 482.7 MB, free: 1.293 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.867395050823689]