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.001834/0.001834, allocations: 112.1 kB / 17.07 MB, free: 5.992 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.001952/0.001952, allocations: 197.3 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 39.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3121, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003567/0.3157, allocations: 2.421 MB / 402.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.3162, allocations: 239.1 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3163, allocations: 7.938 kB / 402.9 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3165, allocations: 43.58 kB / 402.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.3167, allocations: 87.2 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3168, allocations: 51.92 kB / 403.1 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3171, allocations: 290.6 kB / 403.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3173, allocations: 105.7 kB / 403.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3175, allocations: 103.6 kB / 403.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3176, allocations: 119.4 kB / 403.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3177, allocations: 24 kB / 403.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.013e-05/0.3177, allocations: 24 kB / 403.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.3178, allocations: 59.75 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3179, allocations: 127.4 kB / 403.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.3183, allocations: 293.9 kB / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3183, allocations: 0 / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3183, allocations: 0 / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3183, allocations: 0 / 404.2 MB, free: 4.816 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.0008079/0.3191, allocations: 0.5533 MB / 404.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3192, allocations: 8.031 kB / 404.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.435e-05/0.3192, allocations: 62.72 kB / 404.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.3193, allocations: 32.75 kB / 404.8 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.3196, allocations: 237.5 kB / 405.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3196, allocations: 20.94 kB / 405.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.3197, allocations: 28.33 kB / 405.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.3201, allocations: 240 kB / 405.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.3201, allocations: 15.94 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.3202, allocations: 4 kB / 405.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3202, allocations: 8 kB / 405.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3205, allocations: 159.8 kB / 405.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3216, allocations: 0.8049 MB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.3221, allocations: 295.7 kB / 406.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.3223, allocations: 130.7 kB / 406.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3224, allocations: 7.938 kB / 406.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3224, allocations: 46.48 kB / 406.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.512e-06/0.3224, allocations: 0 / 406.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002739/0.3252, allocations: 1.953 MB / 408.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.3252, allocations: 106.8 kB / 408.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.3254, allocations: 191.8 kB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.3255, allocations: 29.7 kB / 409.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3256, allocations: 140.9 kB / 409.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3257, allocations: 174.5 kB / 409.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3258, allocations: 74.14 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.326, allocations: 338.8 kB / 409.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3262, allocations: 92.83 kB / 409.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.3264, allocations: 151.3 kB / 410 MB, free: 14.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.3268, allocations: 276.3 kB / 410.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3268, allocations: 0 / 410.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005018/0.3273, allocations: 341.2 kB / 410.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3273, allocations: 15.88 kB / 410.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3273, allocations: 0 / 410.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3274, allocations: 4 kB / 410.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3277, allocations: 99.98 kB / 410.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3277, allocations: 4 kB / 410.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3278, allocations: 12 kB / 410.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3279, allocations: 15.94 kB / 410.8 MB, free: 13.62 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.0001398/0.328, allocations: 153.7 kB / 410.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.3281, allocations: 31.75 kB / 411 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.3282, allocations: 37.86 kB / 411 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3282, allocations: 8 kB / 411 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3282, allocations: 4 kB / 411 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3282, allocations: 3.984 kB / 411 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3296, allocations: 1.055 MB / 412.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3296, allocations: 4 kB / 412.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.33, allocations: 91.78 kB / 412.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.33, allocations: 7.984 kB / 412.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.33, allocations: 12 kB / 412.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.33, allocations: 4 kB / 412.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3301, allocations: 8.281 kB / 412.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.3308, allocations: 0.7209 MB / 412.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.3309, allocations: 108.9 kB / 413 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.331, allocations: 16 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3312, allocations: 8 kB / 413.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.3312, allocations: 35.89 kB / 413.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3313, allocations: 16 kB / 413.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.3314, allocations: 132.5 kB / 413.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3314, allocations: 0 / 413.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.3318, allocations: 72 kB / 413.3 MB, free: 10.95 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.001084/0.3329, allocations: 1.277 MB / 414.6 MB, free: 9.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.3333, allocations: 274.7 kB / 414.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3334, allocations: 0 / 414.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.3336, allocations: 148.5 kB / 415 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.3342, allocations: 64.03 kB / 415.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.3381, allocations: 3.297 MB / 418.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3385, allocations: 0.7683 MB / 419.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.3387, allocations: 30.97 kB / 419.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3388, allocations: 91.41 kB / 419.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3388, allocations: 0 / 419.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.3679, allocations: 5.943 MB / 425.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.477, allocations: 7.75 kB / 425.2 MB, free: 14.92 MB / 350.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