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.001836/0.001836, allocations: 108.5 kB / 21.18 MB, free: 0.7188 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.00182/0.00182, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.361/1.361, 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.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.001762/0.001762, allocations: 59.91 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2787, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003482/0.2822, allocations: 2.422 MB / 398.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005814/0.2828, allocations: 237.1 kB / 399 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2829, allocations: 8.969 kB / 399 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2831, allocations: 48.2 kB / 399 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2832, allocations: 81.92 kB / 399.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.2835, allocations: 54.55 kB / 399.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.2838, allocations: 293.5 kB / 399.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.284, allocations: 78.97 kB / 399.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.2842, allocations: 111 kB / 399.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.2844, allocations: 125.8 kB / 399.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.2844, allocations: 21.69 kB / 399.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.2844, allocations: 23 kB / 399.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.2845, allocations: 51.47 kB / 399.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2846, allocations: 134.1 kB / 400 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.285, allocations: 288 kB / 400.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.285, allocations: 2.109 kB / 400.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.285, allocations: 0 / 400.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.285, allocations: 0 / 400.3 MB, free: 6.449 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.000705/0.2857, allocations: 482.5 kB / 400.8 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2857, allocations: 14.48 kB / 400.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.2858, allocations: 62.66 kB / 400.8 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.2858, allocations: 33.05 kB / 400.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.2861, allocations: 186.4 kB / 401 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.2861, allocations: 22.31 kB / 401.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/0.2862, allocations: 27.28 kB / 401.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.2866, allocations: 245.5 kB / 401.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.2866, allocations: 13.92 kB / 401.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2866, allocations: 9.438 kB / 401.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2866, allocations: 5.906 kB / 401.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2869, allocations: 158.6 kB / 401.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009956/0.2879, allocations: 0.7554 MB / 402.3 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.2884, allocations: 274.5 kB / 402.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.2886, allocations: 120.9 kB / 402.7 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2886, allocations: 7.594 kB / 402.7 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.2886, allocations: 38.11 kB / 402.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2886, allocations: 0 / 402.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0023/0.2909, allocations: 1.51 MB / 404.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.291, allocations: 113.2 kB / 404.3 MB, free: 3.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.2912, allocations: 189.7 kB / 404.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2912, allocations: 34.95 kB / 404.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.2913, allocations: 141.8 kB / 404.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.2914, allocations: 163.6 kB / 404.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.2915, allocations: 81.22 kB / 404.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.2915, allocations: 338 kB / 405.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2917, allocations: 91.25 kB / 405.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.2919, allocations: 164.3 kB / 405.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.2922, allocations: 275.7 kB / 405.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2922, allocations: 0 / 405.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004688/0.2926, allocations: 348.1 kB / 406.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2927, allocations: 10.56 kB / 406.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2927, allocations: 1.094 kB / 406.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.2927, allocations: 4.469 kB / 406.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.293, allocations: 96.12 kB / 406.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.293, allocations: 3.594 kB / 406.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2931, allocations: 7.719 kB / 406.2 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2932, allocations: 16.39 kB / 406.2 MB, free: 2.234 MB / 318.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.000114/0.2933, allocations: 150.6 kB / 406.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.2934, allocations: 34.58 kB / 406.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.2934, allocations: 36.39 kB / 406.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2934, allocations: 5.875 kB / 406.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.2935, allocations: 4.75 kB / 406.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.2935, allocations: 8.219 kB / 406.5 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.2946, allocations: 1.023 MB / 407.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.2946, allocations: 4.969 kB / 407.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.295, allocations: 92.36 kB / 407.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.295, allocations: 4.125 kB / 407.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.295, allocations: 14.06 kB / 407.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.295, allocations: 4.781 kB / 407.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.295, allocations: 8.344 kB / 407.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006118/0.2957, allocations: 0.724 MB / 408.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.2957, allocations: 27.42 kB / 408.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2957, allocations: 15.5 kB / 408.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.2959, allocations: 12.25 kB / 408.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.296, allocations: 36.77 kB / 408.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.296, allocations: 15.55 kB / 408.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.318e-05/0.2961, allocations: 140 kB / 408.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2961, allocations: 0 / 408.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000412/0.2965, allocations: 71.06 kB / 408.7 MB, free: 0.5977 MB / 318.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.0009578/0.2975, allocations: 1.271 MB / 409.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.2979, allocations: 255.3 kB / 410.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2979, allocations: 1.094 kB / 410.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2981, allocations: 135.9 kB / 410.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.2988, allocations: 69.47 kB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.3029, allocations: 3.286 MB / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.3033, allocations: 0.7711 MB / 414.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.3034, allocations: 35.16 kB / 414.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3036, allocations: 95.98 kB / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3036, allocations: 0 / 414.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.3397, allocations: 6.339 MB / 420.9 MB, free: 9.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.55, allocations: 1.125 kB / 420.9 MB, free: 9.25 MB / 334.1 MB " [Timeout remaining time 648] (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: 13.935821876999398]