Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 47.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2771, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003944/0.2811, allocations: 2.428 MB / 425.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.2816, allocations: 251 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2817, allocations: 7.938 kB / 425.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2819, allocations: 47.52 kB / 425.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.282, allocations: 87.27 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.2822, allocations: 47.94 kB / 425.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000338/0.2825, allocations: 294.6 kB / 425.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2827, allocations: 69.98 kB / 425.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.2829, allocations: 119.6 kB / 426 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.283, allocations: 115.5 kB / 426.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.2831, allocations: 24 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.835e-05/0.2831, allocations: 20 kB / 426.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.2832, allocations: 59.77 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.2833, allocations: 131.4 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.2836, allocations: 295.1 kB / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2836, allocations: 0 / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2836, allocations: 0 / 426.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2836, allocations: 0 / 426.6 MB, free: 10.63 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007803/0.2844, allocations: 485.4 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.2845, allocations: 16.03 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.2845, allocations: 58.72 kB / 427.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.2846, allocations: 32.75 kB / 427.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2849, allocations: 178.9 kB / 427.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2849, allocations: 20.81 kB / 427.4 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.285, allocations: 32.31 kB / 427.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.2854, allocations: 243.1 kB / 427.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2854, allocations: 11.94 kB / 427.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2854, allocations: 8 kB / 427.7 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2854, allocations: 8 kB / 427.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.2857, allocations: 159.8 kB / 427.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2868, allocations: 0.7573 MB / 428.6 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.2874, allocations: 275.8 kB / 428.8 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.2876, allocations: 114.8 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.2876, allocations: 15.88 kB / 429 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.2877, allocations: 38.56 kB / 429 MB, free: 8.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.2877, allocations: 0 / 429 MB, free: 8.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002602/0.2903, allocations: 1.501 MB / 430.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.2904, allocations: 110.8 kB / 430.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.2906, allocations: 189 kB / 430.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.2906, allocations: 38.08 kB / 430.8 MB, free: 6.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2907, allocations: 144.8 kB / 431 MB, free: 5.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2908, allocations: 166.5 kB / 431.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2909, allocations: 78.12 kB / 431.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2911, allocations: 334.8 kB / 431.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2913, allocations: 92.84 kB / 431.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.2915, allocations: 162.3 kB / 431.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.2919, allocations: 272.6 kB / 432.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2919, allocations: 0 / 432.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00051/0.2924, allocations: 350.5 kB / 432.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.2924, allocations: 11.94 kB / 432.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2924, allocations: 0 / 432.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2924, allocations: 4 kB / 432.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.2928, allocations: 91.91 kB / 432.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2928, allocations: 8 kB / 432.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2929, allocations: 4 kB / 432.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2929, allocations: 16 kB / 432.5 MB, free: 4.246 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.0001604/0.293, allocations: 161.7 kB / 432.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.2931, allocations: 35.75 kB / 432.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.439e-05/0.2932, allocations: 33.81 kB / 432.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2932, allocations: 8 kB / 432.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.2932, allocations: 3.984 kB / 432.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2933, allocations: 0 / 432.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.2947, allocations: 1.015 MB / 433.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2947, allocations: 4.281 kB / 433.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.2951, allocations: 99.77 kB / 433.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.2951, allocations: 8 kB / 433.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2951, allocations: 12 kB / 433.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.2951, allocations: 4 kB / 433.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.2951, allocations: 7.938 kB / 433.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.2959, allocations: 0.7209 MB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.296, allocations: 31.81 kB / 434.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.296, allocations: 16.05 kB / 434.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.2962, allocations: 8 kB / 434.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.2963, allocations: 31.89 kB / 434.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2963, allocations: 16 kB / 434.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.2964, allocations: 139.3 kB / 434.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2964, allocations: 0 / 434.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.2968, allocations: 76.09 kB / 435 MB, free: 1.688 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.001184/0.298, allocations: 1.267 MB / 436.2 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.2985, allocations: 259.9 kB / 436.5 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2985, allocations: 0 / 436.5 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.2987, allocations: 138.6 kB / 436.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.2994, allocations: 82.98 kB / 436.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.3034, allocations: 3.283 MB / 440 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.3039, allocations: 0.7684 MB / 440.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.304, allocations: 38.94 kB / 440.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3041, allocations: 91.41 kB / 440.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3041, allocations: 0 / 440.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.3399, allocations: 6.327 MB / 447.2 MB, free: 5.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.78, allocations: 4 kB / 447.2 MB, free: 5.352 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.312133346000337]