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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 108 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001957, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.26/2.26, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001728, allocations: 50.88 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1877, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.008366/0.1961, allocations: 2.421 MB / 352.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1979, allocations: 231.1 kB / 352.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.1985, allocations: 11.94 kB / 352.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.199, allocations: 43.58 kB / 352.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.1996, allocations: 87.2 kB / 352.9 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.2002, allocations: 59.91 kB / 353 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.201, allocations: 282.7 kB / 353.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.2015, allocations: 97.69 kB / 353.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.202, allocations: 103.6 kB / 353.5 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000519/0.2025, allocations: 119.5 kB / 353.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2027, allocations: 24 kB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2028, allocations: 24 kB / 353.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.203, allocations: 51.77 kB / 353.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.2033, allocations: 131.4 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008343/0.2042, allocations: 287.2 kB / 354.1 MB, free: 380 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.2042, allocations: 4 kB / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.762e-06/0.2042, allocations: 0 / 354.1 MB, free: 376 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.2043, allocations: 0 / 354.1 MB, free: 376 kB / 286.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.001935/0.2062, allocations: 0.5419 MB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.163e-05/0.2063, allocations: 12.03 kB / 354.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.2065, allocations: 58.73 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2066, allocations: 28.56 kB / 354.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.2074, allocations: 241.8 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.2075, allocations: 24.92 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2076, allocations: 24.38 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.2085, allocations: 251.9 kB / 355.3 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.2086, allocations: 3.938 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.2087, allocations: 12 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.2087, allocations: 4 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.2094, allocations: 167.8 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.2115, allocations: 0.793 MB / 356.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.2126, allocations: 291.7 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.2131, allocations: 134.7 kB / 356.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.2132, allocations: 11.94 kB / 356.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.917e-05/0.2133, allocations: 42.55 kB / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 3.957e-06/0.2133, allocations: 0 / 356.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.005539/0.2189, allocations: 1.952 MB / 358.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.2191, allocations: 110.8 kB / 358.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.2195, allocations: 183.2 kB / 359 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.2198, allocations: 37.7 kB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.22, allocations: 136.7 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2202, allocations: 165.6 kB / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2205, allocations: 70.14 kB / 359.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0005165/0.221, allocations: 334.8 kB / 359.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2213, allocations: 96.83 kB / 359.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.2217, allocations: 158.3 kB / 359.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.2225, allocations: 270.1 kB / 360.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2225, allocations: 0 / 360.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000946/0.2234, allocations: 348.2 kB / 360.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2235, allocations: 11.94 kB / 360.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2235, allocations: 0 / 360.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.2236, allocations: 4.938 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.2242, allocations: 95.89 kB / 360.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.2243, allocations: 4 kB / 360.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.2245, allocations: 12.09 kB / 360.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.2246, allocations: 12 kB / 360.7 MB, free: 9.211 MB / 302.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.0002907/0.2249, allocations: 153.7 kB / 360.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.2251, allocations: 31.66 kB / 360.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.2253, allocations: 37.86 kB / 360.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.2253, allocations: 4 kB / 360.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.2253, allocations: 4 kB / 360.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.2253, allocations: 7.922 kB / 360.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.2283, allocations: 1.062 MB / 362 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.2284, allocations: 4 kB / 362 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.2291, allocations: 87.89 kB / 362.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.303e-05/0.2291, allocations: 11.98 kB / 362.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.2292, allocations: 20.27 kB / 362.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.2292, allocations: 4 kB / 362.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.2292, allocations: 7.938 kB / 362.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.2308, allocations: 0.7171 MB / 362.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.2309, allocations: 112.7 kB / 362.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.231, allocations: 16.06 kB / 362.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.2315, allocations: 12 kB / 363 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.2316, allocations: 31.95 kB / 363 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.2316, allocations: 16 kB / 363 MB, free: 6.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.2319, allocations: 136.4 kB / 363.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2319, allocations: 0 / 363.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008717/0.2328, allocations: 72 kB / 363.2 MB, free: 6.527 MB / 302.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.001917/0.2347, allocations: 1.267 MB / 364.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009316/0.2357, allocations: 283.7 kB / 364.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2357, allocations: 192 / 364.8 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.2361, allocations: 151.7 kB / 364.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.2376, allocations: 71.73 kB / 365 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.2453, allocations: 3.285 MB / 368.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.246, allocations: 0.7683 MB / 369 MB, free: 448 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002705/0.2464, allocations: 34.95 kB / 369.1 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.2466, allocations: 91.41 kB / 369.1 MB, free: 328 kB / 302.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2466, allocations: 0 / 369.1 MB, free: 328 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4435/0.6901, allocations: 5.816 MB / 375 MB, free: 25.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.58, allocations: 5.703 kB / 375 MB, free: 25.45 MB / 302.1 MB (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) 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) Reference file matches