Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.001754/0.001754, 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.002102/0.002102, 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.514/1.514, allocations: 207.6 MB / 231.8 MB, free: 4.098 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.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Damper",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.001724/0.001724, allocations: 56.55 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00405/0.1136, allocations: 2.415 MB / 393.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005501/0.1141, allocations: 243.1 kB / 394.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1142, allocations: 4 kB / 394.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.1144, allocations: 47.52 kB / 394.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1145, allocations: 83.27 kB / 394.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1147, allocations: 51.94 kB / 394.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1151, allocations: 302.6 kB / 394.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1153, allocations: 73.69 kB / 394.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1154, allocations: 103.7 kB / 394.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1156, allocations: 123.4 kB / 394.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.1156, allocations: 20 kB / 394.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.1157, allocations: 27.94 kB / 394.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.1157, allocations: 51.83 kB / 394.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1159, allocations: 135.3 kB / 395.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.1163, allocations: 290.7 kB / 395.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1163, allocations: 3.984 kB / 395.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1163, allocations: 4 kB / 395.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1163, allocations: 4 kB / 395.4 MB, free: 4.754 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001003/0.1173, allocations: 0.534 MB / 395.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1173, allocations: 15.97 kB / 395.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.1174, allocations: 62.66 kB / 396 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1175, allocations: 32.75 kB / 396 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.1178, allocations: 245.6 kB / 396.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1179, allocations: 16.94 kB / 396.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.1179, allocations: 28.38 kB / 396.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.1184, allocations: 251.8 kB / 396.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1184, allocations: 7.891 kB / 396.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.1184, allocations: 12 kB / 396.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.1184, allocations: 8 kB / 396.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.1187, allocations: 151.9 kB / 396.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1199, allocations: 0.7894 MB / 397.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.1205, allocations: 283.7 kB / 397.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.1207, allocations: 122.8 kB / 397.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1208, allocations: 15.98 kB / 397.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.1208, allocations: 38.5 kB / 397.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.1208, allocations: 0 / 397.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.003219/0.124, allocations: 1.958 MB / 399.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.1241, allocations: 106.8 kB / 400 MB, free: 15.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.1243, allocations: 195.1 kB / 400.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1244, allocations: 29.7 kB / 400.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1245, allocations: 148.9 kB / 400.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1246, allocations: 166.5 kB / 400.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1247, allocations: 74.09 kB / 400.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1249, allocations: 338.8 kB / 400.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1251, allocations: 92.83 kB / 401 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1253, allocations: 166.3 kB / 401.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.1257, allocations: 270.2 kB / 401.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1257, allocations: 0 / 401.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005361/0.1263, allocations: 341.2 kB / 401.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1263, allocations: 12.03 kB / 401.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1263, allocations: 4 kB / 401.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1263, allocations: 4 kB / 401.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.1267, allocations: 95.83 kB / 401.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1267, allocations: 4 kB / 401.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1268, allocations: 8 kB / 401.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.1268, allocations: 16 kB / 401.9 MB, free: 13.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.127, allocations: 149.7 kB / 402.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.1271, allocations: 39.73 kB / 402.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1272, allocations: 37.86 kB / 402.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1272, allocations: 4 kB / 402.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1272, allocations: 0 / 402.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1272, allocations: 4 kB / 402.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.1287, allocations: 1.055 MB / 403.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1287, allocations: 4 kB / 403.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003668/0.1291, allocations: 91.78 kB / 403.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1291, allocations: 8.281 kB / 403.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1291, allocations: 16.45 kB / 403.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.037e-05/0.1291, allocations: 8 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.1291, allocations: 4 kB / 403.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.13, allocations: 0.7184 MB / 404.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.1301, allocations: 113 kB / 404.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.1302, allocations: 8 kB / 404.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.1304, allocations: 19.94 kB / 404.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.1304, allocations: 35.84 kB / 404.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1305, allocations: 15.98 kB / 404.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1306, allocations: 136.2 kB / 404.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1306, allocations: 0 / 404.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.131, allocations: 72 kB / 404.4 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.1322, allocations: 1.267 MB / 405.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.1327, allocations: 252.2 kB / 406 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.1327, allocations: 8.188 kB / 406 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.1329, allocations: 135.7 kB / 406.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006972/0.1336, allocations: 65.12 kB / 406.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.1378, allocations: 3.302 MB / 409.5 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.1383, allocations: 0.7722 MB / 410.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.1384, allocations: 30.97 kB / 410.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.1386, allocations: 95.41 kB / 410.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1386, allocations: 0 / 410.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1722, allocations: 5.969 MB / 416.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.536, allocations: 8 kB / 416.3 MB, free: 14.69 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_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_Damper.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable springDamper3.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.156215499999234]