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.0007858/0.0007858, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00366/0.00366, allocations: 162.9 kB / 24.69 MB, free: 8.879 MB / 18.57 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 0.8291/0.8291, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.366e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.1411/0.1411, allocations: 4.077 MB / 302.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.1436, allocations: 1.343 MB / 303.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.1441, allocations: 36.09 kB / 303.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1444, allocations: 176.4 kB / 304.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1447, allocations: 179.4 kB / 304.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.1454, allocations: 370.2 kB / 304.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008079/0.1463, allocations: 0.9982 MB / 305.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.1466, allocations: 261.3 kB / 305.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.1471, allocations: 0.4937 MB / 306.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1474, allocations: 238.1 kB / 306.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.1475, allocations: 75.91 kB / 306.6 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1476, allocations: 118.3 kB / 306.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.1477, allocations: 173.2 kB / 306.9 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1479, allocations: 261.9 kB / 307.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.149, allocations: 1.094 MB / 308.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.149, allocations: 0 / 308.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.149, allocations: 0 / 308.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.149, allocations: 1.438 kB / 308.3 MB, free: 11.17 MB / 282.7 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.001339/0.1504, allocations: 1.082 MB / 309.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1504, allocations: 15.73 kB / 309.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1505, allocations: 128 kB / 309.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1506, allocations: 110.1 kB / 309.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007542/0.1514, allocations: 0.5579 MB / 310.2 MB, free: 9.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.1514, allocations: 58.72 kB / 310.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.1515, allocations: 84.41 kB / 310.3 MB, free: 9.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.1525, allocations: 0.8404 MB / 311.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.1525, allocations: 9.547 kB / 311.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1525, allocations: 41.81 kB / 311.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1525, allocations: 25.09 kB / 311.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.1532, allocations: 470.2 kB / 311.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.1553, allocations: 4.159 MB / 315.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.1557, allocations: 288.4 kB / 316.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1559, allocations: 134.2 kB / 316.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.156, allocations: 14 kB / 316.3 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.156, allocations: 38.86 kB / 316.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of pre-optimization done (n=46): time 1.894e-06/0.156, allocations: 0 / 316.3 MB, free: 5.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=57): time 0.002141/0.1582, allocations: 1.602 MB / 317.9 MB, free: 4.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1582, allocations: 58.67 kB / 318 MB, free: 4.324 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.1587, allocations: 0.5495 MB / 318.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1587, allocations: 36.23 kB / 318.6 MB, free: 4.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.1589, allocations: 486.8 kB / 319 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.159, allocations: 223.2 kB / 319.2 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1591, allocations: 136.8 kB / 319.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1592, allocations: 386.8 kB / 319.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.1594, allocations: 161.8 kB / 319.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.1597, allocations: 457.6 kB / 320.4 MB, free: 2.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.1603, allocations: 0.6714 MB / 321 MB, free: 1.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.1603, allocations: 2.656 kB / 321 MB, free: 1.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.0008426/0.1611, allocations: 0.7404 MB / 321.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1611, allocations: 13.52 kB / 321.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.1612, allocations: 11.8 kB / 321.8 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.1613, allocations: 46.73 kB / 321.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1617, allocations: 182 kB / 322 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/0.1625, allocations: 1.572 MB / 323.6 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1627, allocations: 30.22 kB / 323.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.1628, allocations: 33.75 kB / 323.7 MB, free: 104 kB / 282.7 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.0002202/0.163, allocations: 233.5 kB / 323.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.163, allocations: 77.77 kB / 324 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.1631, allocations: 72.56 kB / 324 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1631, allocations: 12.91 kB / 324 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.1631, allocations: 5.531 kB / 324.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1631, allocations: 2.766 kB / 324.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1646, allocations: 1.285 MB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1646, allocations: 3 kB / 325.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1649, allocations: 123.8 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.177e-05/0.1649, allocations: 25.2 kB / 325.5 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.165, allocations: 14.56 kB / 325.5 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006111/0.1656, allocations: 1.257 MB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1656, allocations: 7.562 kB / 326.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007853/0.1664, allocations: 0.7738 MB / 327.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.1664, allocations: 60.25 kB / 327.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.1665, allocations: 23.44 kB / 327.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1666, allocations: 13.5 kB / 327.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.1666, allocations: 44.33 kB / 327.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1666, allocations: 13.69 kB / 327.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.167, allocations: 362.6 kB / 328 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.167, allocations: 0 / 328 MB, free: 13.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.1674, allocations: 142 kB / 328.2 MB, free: 13 MB / 298.7 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.00102/0.1684, allocations: 1.33 MB / 329.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.1692, allocations: 0.5667 MB / 330.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1692, allocations: 0 / 330.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1694, allocations: 298.9 kB / 330.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1699, allocations: 105.6 kB / 330.5 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.1753, allocations: 5.839 MB / 336.3 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1755, allocations: 377.7 kB / 336.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.1757, allocations: 81.94 kB / 336.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.176, allocations: 324.4 kB / 337.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.176, allocations: 0 / 337.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.201, allocations: 12.7 MB / 349.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.476, allocations: 8 kB / 349.8 MB, free: 9.738 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 9.15101349633187]