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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001226/0.001226, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003731/0.1084, allocations: 2.409 MB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006943/0.1092, allocations: 243.1 kB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1094, allocations: 7.938 kB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1097, allocations: 39.58 kB / 377.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1099, allocations: 83.27 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1101, allocations: 55.94 kB / 377.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.1106, allocations: 298.6 kB / 377.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1108, allocations: 93.67 kB / 377.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.111, allocations: 111.6 kB / 378 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1112, allocations: 123.5 kB / 378.1 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.1112, allocations: 24 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.041e-05/0.1113, allocations: 24 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1114, allocations: 51.83 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1115, allocations: 131.3 kB / 378.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1119, allocations: 286.8 kB / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1119, allocations: 0 / 378.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1119, allocations: 7.938 kB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1119, allocations: 0 / 378.6 MB, free: 1.113 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.0009021/0.1128, allocations: 0.5456 MB / 379.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1129, allocations: 12.03 kB / 379.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.113, allocations: 62.72 kB / 379.2 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.113, allocations: 28.75 kB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1134, allocations: 248.7 kB / 379.5 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.1134, allocations: 20.94 kB / 379.5 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1135, allocations: 28.38 kB / 379.5 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.204/0.3175, allocations: 248.1 kB / 379.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.3176, allocations: 5.938 kB / 379.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.3176, allocations: 9.375 kB / 379.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3176, allocations: 5.5 kB / 379.8 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.318, allocations: 163.4 kB / 380 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3191, allocations: 0.7885 MB / 380.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.3197, allocations: 297.5 kB / 381 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.3199, allocations: 129 kB / 381.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.32, allocations: 3.5 kB / 381.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.32, allocations: 42.58 kB / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.32, allocations: 0 / 381.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002766/0.3228, allocations: 1.961 MB / 383.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3228, allocations: 110.3 kB / 383.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3231, allocations: 191.3 kB / 383.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3231, allocations: 31.3 kB / 383.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.3232, allocations: 141.2 kB / 383.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3233, allocations: 167.9 kB / 383.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3234, allocations: 72.14 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.3235, allocations: 337.4 kB / 384.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3237, allocations: 91.31 kB / 384.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.3239, allocations: 166.6 kB / 384.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.3243, allocations: 271.8 kB / 384.7 MB, free: 9.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3243, allocations: 7.219 kB / 384.7 MB, free: 9.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004878/0.3248, allocations: 340.1 kB / 385 MB, free: 9.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3248, allocations: 3.969 kB / 385 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3248, allocations: 1.406 kB / 385 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.3249, allocations: 4 kB / 385.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.3252, allocations: 93.14 kB / 385.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3252, allocations: 8.094 kB / 385.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3254, allocations: 11.05 kB / 385.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.3254, allocations: 20.16 kB / 385.2 MB, free: 9.746 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.0001209/0.3255, allocations: 156.3 kB / 385.3 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.3256, allocations: 30.3 kB / 385.4 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-05/0.3257, allocations: 37.41 kB / 385.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3257, allocations: 8.078 kB / 385.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.3257, allocations: 0 / 385.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3257, allocations: 2.297 kB / 385.4 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.327, allocations: 1.067 MB / 386.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.327, allocations: 3.125 kB / 386.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.3274, allocations: 92.22 kB / 386.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3274, allocations: 3.594 kB / 386.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.3275, allocations: 11.95 kB / 386.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3275, allocations: 4.516 kB / 386.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3275, allocations: 7.469 kB / 386.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007156/0.3282, allocations: 0.7286 MB / 387.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.3283, allocations: 108.7 kB / 387.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3283, allocations: 10.27 kB / 387.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3285, allocations: 7.781 kB / 387.5 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.3286, allocations: 41.02 kB / 387.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3286, allocations: 11.89 kB / 387.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3287, allocations: 141.7 kB / 387.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3287, allocations: 3.938 kB / 387.6 MB, free: 8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.3292, allocations: 76.59 kB / 387.7 MB, free: 7.984 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.0008878/0.3301, allocations: 1.264 MB / 389 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.3305, allocations: 267 kB / 389.2 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3305, allocations: 5.125 kB / 389.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.3307, allocations: 144.7 kB / 389.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.3314, allocations: 77.05 kB / 389.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.3349, allocations: 3.281 MB / 392.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.3352, allocations: 0.7683 MB / 393.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.3353, allocations: 35.73 kB / 393.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3355, allocations: 94.61 kB / 393.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3355, allocations: 0 / 393.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.3631, allocations: 5.945 MB / 399.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.276, allocations: 5.359 kB / 399.6 MB, free: 2.504 MB / 318.1 MB (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) 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) Reference file matches