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.001738/0.001738, allocations: 116.9 kB / 18.45 MB, free: 4.609 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.002143/0.002143, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.467/1.467, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.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.001709/0.001709, allocations: 56.55 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09816, allocations: 49.13 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.006128/0.1043, allocations: 4.587 MB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1074, allocations: 1.388 MB / 397.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.1078, allocations: 27.75 kB / 397.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.1083, allocations: 182.2 kB / 397.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000369/0.1087, allocations: 162.4 kB / 397.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.1094, allocations: 363.5 kB / 398.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.1104, allocations: 0.978 MB / 399.1 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.1109, allocations: 287 kB / 399.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.1113, allocations: 346.6 kB / 399.7 MB, free: 368 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.1117, allocations: 346 kB / 400 MB, free: 20 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1118, allocations: 72.05 kB / 400.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1121, allocations: 115.8 kB / 400.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1123, allocations: 171.3 kB / 400.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.1126, allocations: 425.5 kB / 400.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.1138, allocations: 1.116 MB / 401.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1138, allocations: 0 / 401.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1138, allocations: 0 / 401.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.1139, allocations: 0 / 401.9 MB, free: 14.13 MB / 334.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.001675/0.1155, allocations: 1.168 MB / 403.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1156, allocations: 8.031 kB / 403.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.1157, allocations: 126.9 kB / 403.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1159, allocations: 111.3 kB / 403.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.1168, allocations: 0.6389 MB / 404 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.1169, allocations: 58 kB / 404 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.117, allocations: 83.95 kB / 404.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1183, allocations: 0.8521 MB / 405 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.1184, allocations: 11.92 kB / 405 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.1184, allocations: 32 kB / 405 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.1184, allocations: 24 kB / 405 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.1193, allocations: 467.3 kB / 405.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003973/0.1233, allocations: 4.381 MB / 409.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.1239, allocations: 275.6 kB / 410.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1241, allocations: 137.3 kB / 410.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.1244, allocations: 174.6 kB / 410.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1244, allocations: 34.94 kB / 410.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/0.1244, allocations: 0 / 410.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.003399/0.1278, allocations: 1.753 MB / 412.2 MB, free: 3.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1278, allocations: 63.84 kB / 412.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.1284, allocations: 0.5353 MB / 412.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1285, allocations: 33.7 kB / 412.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.1288, allocations: 487.8 kB / 413.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.129, allocations: 222.1 kB / 413.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1292, allocations: 142.6 kB / 413.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1293, allocations: 386.8 kB / 414.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.1296, allocations: 157.9 kB / 414.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.1302, allocations: 463.2 kB / 414.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.131, allocations: 0.6674 MB / 415.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.131, allocations: 0 / 415.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001193/0.1322, allocations: 0.7381 MB / 416.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1322, allocations: 12 kB / 416.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1323, allocations: 8.875 kB / 416.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.1325, allocations: 52.84 kB / 416.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.133, allocations: 183.7 kB / 416.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.1346, allocations: 1.685 MB / 418 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.1349, allocations: 31.98 kB / 418 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.135, allocations: 36 kB / 418.1 MB, free: 12.95 MB / 350.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.0003523/0.1353, allocations: 229.5 kB / 418.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1354, allocations: 75.47 kB / 418.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1356, allocations: 79.08 kB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1356, allocations: 8.062 kB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1356, allocations: 192 / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.1356, allocations: 3.984 kB / 418.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.1376, allocations: 1.416 MB / 419.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1376, allocations: 4 kB / 419.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1381, allocations: 119.8 kB / 420 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.753e-05/0.1382, allocations: 25.2 kB / 420 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.1382, allocations: 16 kB / 420 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1393, allocations: 1.375 MB / 421.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1393, allocations: 80 / 421.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.1404, allocations: 0.7895 MB / 422.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1405, allocations: 140.6 kB / 422.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.1406, allocations: 12 kB / 422.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.1408, allocations: 19.94 kB / 422.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.1408, allocations: 35.89 kB / 422.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1409, allocations: 23.98 kB / 422.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004233/0.1413, allocations: 363.1 kB / 422.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1413, allocations: 0 / 422.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006436/0.1419, allocations: 140.2 kB / 422.9 MB, free: 7.77 MB / 350.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.001419/0.1434, allocations: 1.337 MB / 424.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1444, allocations: 0.5721 MB / 424.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1444, allocations: 0 / 424.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1448, allocations: 307.6 kB / 425.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.1455, allocations: 103.1 kB / 425.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.1535, allocations: 6.069 MB / 431.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.1542, allocations: 0.969 MB / 432.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.1544, allocations: 85.92 kB / 432.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.1548, allocations: 323.3 kB / 432.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.322e-06/0.1548, allocations: 0 / 432.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.1984, allocations: 11.92 MB / 444.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.15, allocations: 8.906 kB / 444.6 MB, free: 1.488 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.682706044011866]