Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00193/0.00193, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002316/0.002316, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 55.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2821, allocations: 49.16 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.005092/0.2872, allocations: 4.607 MB / 400.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.2897, allocations: 1.38 MB / 402.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.2901, allocations: 34.44 kB / 402.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.2905, allocations: 183.3 kB / 402.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.2908, allocations: 167.3 kB / 402.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.2916, allocations: 370.7 kB / 403.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000899/0.2925, allocations: 0.9736 MB / 404 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.2929, allocations: 287.1 kB / 404.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.2933, allocations: 342.2 kB / 404.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.2937, allocations: 352.6 kB / 405 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.2938, allocations: 72.06 kB / 405.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.294, allocations: 116.5 kB / 405.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2941, allocations: 171.5 kB / 405.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.2944, allocations: 427.2 kB / 405.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2957, allocations: 1.109 MB / 406.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2957, allocations: 0 / 406.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2957, allocations: 0 / 406.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.2957, allocations: 0 / 406.9 MB, free: 2.246 MB / 318.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.001552/0.2973, allocations: 1.097 MB / 408 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2973, allocations: 13.39 kB / 408 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.2974, allocations: 131.9 kB / 408.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.2976, allocations: 111 kB / 408.2 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008855/0.2985, allocations: 0.5464 MB / 408.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.2985, allocations: 61.56 kB / 408.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.2986, allocations: 84.95 kB / 408.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2997, allocations: 0.8471 MB / 409.8 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.2997, allocations: 8.172 kB / 409.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/0.2998, allocations: 34.81 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.2998, allocations: 20.97 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.3006, allocations: 469.9 kB / 410.3 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.3048, allocations: 4.333 MB / 414.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.3054, allocations: 286.9 kB / 414.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.3056, allocations: 131.1 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.3058, allocations: 19.48 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3058, allocations: 45.03 kB / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.905e-06/0.3058, allocations: 0 / 415.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003363/0.3092, allocations: 1.596 MB / 416.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3092, allocations: 66.38 kB / 416.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.3099, allocations: 0.5374 MB / 417.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3099, allocations: 34.83 kB / 417.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.3103, allocations: 485.9 kB / 417.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.3105, allocations: 223.5 kB / 418 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.3106, allocations: 146.1 kB / 418.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3108, allocations: 382.3 kB / 418.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.3111, allocations: 162 kB / 418.7 MB, free: 9.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.3116, allocations: 451.8 kB / 419.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.3125, allocations: 0.6656 MB / 419.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.3125, allocations: 3.5 kB / 419.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001224/0.3137, allocations: 0.746 MB / 420.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3138, allocations: 10.81 kB / 420.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3138, allocations: 9.312 kB / 420.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.314, allocations: 46.19 kB / 420.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.3145, allocations: 190 kB / 420.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.316, allocations: 1.583 MB / 422.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.3163, allocations: 29.22 kB / 422.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.3164, allocations: 33.53 kB / 422.4 MB, free: 6.336 MB / 334.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.0003587/0.3167, allocations: 236.6 kB / 422.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.96e-05/0.3168, allocations: 76.84 kB / 422.7 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.317, allocations: 76.73 kB / 422.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.317, allocations: 5.406 kB / 422.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.317, allocations: 1.094 kB / 422.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.317, allocations: 5.047 kB / 422.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.3191, allocations: 1.372 MB / 424.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3191, allocations: 1.375 kB / 424.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.3196, allocations: 119.7 kB / 424.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.022e-05/0.3197, allocations: 26.61 kB / 424.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.3197, allocations: 17.48 kB / 424.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009983/0.3207, allocations: 1.272 MB / 425.6 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3207, allocations: 6.688 kB / 425.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3219, allocations: 0.7817 MB / 426.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.322, allocations: 59.97 kB / 426.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.322, allocations: 13.84 kB / 426.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.3222, allocations: 16.88 kB / 426.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.3223, allocations: 51.48 kB / 426.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.3223, allocations: 16.5 kB / 426.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.3228, allocations: 366.4 kB / 426.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3228, allocations: 0 / 426.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006721/0.3234, allocations: 136.9 kB / 427.1 MB, free: 2.77 MB / 334.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.001507/0.3249, allocations: 1.336 MB / 428.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.326, allocations: 0.5649 MB / 429 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.326, allocations: 1.375 kB / 429 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.3265, allocations: 292.3 kB / 429.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3271, allocations: 104.7 kB / 429.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008215/0.3353, allocations: 6.071 MB / 435.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.336, allocations: 0.9691 MB / 436.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.3363, allocations: 85.91 kB / 436.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004078/0.3367, allocations: 319.3 kB / 436.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3367, allocations: 0 / 436.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04744/0.3841, allocations: 12.48 MB / 449.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.7, allocations: 8 kB / 449.3 MB, free: 12.61 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass2b.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.s in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.s from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3a.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3a.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.s in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.s from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! Error: Could not read variable mass3b.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable mass3b.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.24241606099531]