Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001875/0.001875, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002178/0.002178, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 55.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2943, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004284/0.2986, allocations: 2.277 MB / 433.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.2993, allocations: 235.1 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.2995, allocations: 7.938 kB / 433.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.2997, allocations: 43.58 kB / 433.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3, allocations: 83.27 kB / 433.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3002, allocations: 59.91 kB / 433.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.3006, allocations: 298.6 kB / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.3008, allocations: 61.98 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.3009, allocations: 111.6 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3011, allocations: 107.5 kB / 434.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.3011, allocations: 24 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.3012, allocations: 24 kB / 434.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.534e-05/0.3012, allocations: 43.84 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3014, allocations: 115.5 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.3018, allocations: 296.5 kB / 434.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3018, allocations: 3.938 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3018, allocations: 0 / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3018, allocations: 4 kB / 434.8 MB, free: 2.863 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.0008477/0.3026, allocations: 484.2 kB / 435.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3027, allocations: 8.031 kB / 435.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.337e-05/0.3027, allocations: 58.73 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.3028, allocations: 36.75 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.3032, allocations: 190.8 kB / 435.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3032, allocations: 16.88 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.3033, allocations: 24.38 kB / 435.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.3037, allocations: 239.1 kB / 435.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.3037, allocations: 11.94 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3037, allocations: 4 kB / 435.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3037, allocations: 8 kB / 435.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.304, allocations: 161.4 kB / 436.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3051, allocations: 0.7182 MB / 436.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.3056, allocations: 275.8 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.3059, allocations: 122.5 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.3059, allocations: 7.938 kB / 437.2 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.306, allocations: 38.56 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.306, allocations: 0 / 437.2 MB, free: 324 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00265/0.3086, allocations: 1.505 MB / 438.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.3087, allocations: 107 kB / 438.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.3089, allocations: 195.8 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3089, allocations: 29.7 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.309, allocations: 152.8 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.3092, allocations: 162.6 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3093, allocations: 74.09 kB / 439.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3094, allocations: 342.8 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3096, allocations: 92.84 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.3098, allocations: 166.2 kB / 440 MB, free: 13.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.3102, allocations: 264.9 kB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3102, allocations: 4 kB / 440.3 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005311/0.3107, allocations: 347.8 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3108, allocations: 7.75 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.3108, allocations: 96 / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3108, allocations: 8 kB / 440.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.3111, allocations: 91.89 kB / 440.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3111, allocations: 4 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.3112, allocations: 12 kB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3112, allocations: 12 kB / 440.7 MB, free: 12.53 MB / 350.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.0001725/0.3114, allocations: 157.7 kB / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.3115, allocations: 31.75 kB / 440.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.891e-05/0.3116, allocations: 41.8 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3116, allocations: 4 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3116, allocations: 4 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3116, allocations: 3.984 kB / 441 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.3131, allocations: 0.9794 MB / 442 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3131, allocations: 3.938 kB / 442 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.3134, allocations: 92.17 kB / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3134, allocations: 8 kB / 442.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3135, allocations: 12.05 kB / 442.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.3135, allocations: 8.469 kB / 442.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.385e-05/0.3135, allocations: 11.91 kB / 442.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.3144, allocations: 0.7326 MB / 442.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.3144, allocations: 27.75 kB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.3145, allocations: 16.05 kB / 442.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3147, allocations: 12 kB / 442.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3147, allocations: 31.89 kB / 442.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3147, allocations: 20 kB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.3149, allocations: 136.5 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3149, allocations: 0 / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000428/0.3153, allocations: 72 kB / 443.1 MB, free: 10 MB / 350.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.001203/0.3165, allocations: 1.267 MB / 444.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004734/0.317, allocations: 256.7 kB / 444.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.317, allocations: 4 kB / 444.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3172, allocations: 127.7 kB / 444.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.3179, allocations: 76.34 kB / 444.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.3223, allocations: 3.287 MB / 448.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3225, allocations: 159.8 kB / 448.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.3227, allocations: 38.95 kB / 448.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3228, allocations: 91.41 kB / 448.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3228, allocations: 0 / 448.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.3604, allocations: 6.665 MB / 455.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.58, allocations: 3.938 kB / 455.1 MB, free: 13.97 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.041524961125106]