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.001034/0.001034, allocations: 110.1 kB / 17.06 MB, free: 6.016 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.001013/0.001014, allocations: 191 kB / 18 MB, free: 5.102 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.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009303/0.0009303, allocations: 47.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.237, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003373/0.2404, allocations: 2.416 MB / 402.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.2409, allocations: 243.1 kB / 402.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.241, allocations: 11.88 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2412, allocations: 39.58 kB / 402.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.2413, allocations: 87.27 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.2415, allocations: 55.92 kB / 403.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.2418, allocations: 290.6 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.242, allocations: 105.7 kB / 403.5 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2421, allocations: 111.6 kB / 403.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2422, allocations: 115.5 kB / 403.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.2423, allocations: 27.94 kB / 403.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.2423, allocations: 20 kB / 403.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.2424, allocations: 59.77 kB / 403.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2425, allocations: 127.4 kB / 403.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.2428, allocations: 293.9 kB / 404.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2428, allocations: 4 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2428, allocations: 0 / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2428, allocations: 0 / 404.2 MB, free: 4.828 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.0007179/0.2435, allocations: 0.5494 MB / 404.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2436, allocations: 8.031 kB / 404.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.2437, allocations: 66.72 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.2437, allocations: 32.75 kB / 404.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.244, allocations: 237.5 kB / 405.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.244, allocations: 16.94 kB / 405.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.2441, allocations: 28.33 kB / 405.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.2445, allocations: 244 kB / 405.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2445, allocations: 7.938 kB / 405.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.2445, allocations: 12 kB / 405.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2445, allocations: 8 kB / 405.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.2448, allocations: 159.1 kB / 405.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.2459, allocations: 0.8049 MB / 406.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.2464, allocations: 283.8 kB / 406.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.2466, allocations: 134.7 kB / 406.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2467, allocations: 7.938 kB / 406.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2467, allocations: 46.55 kB / 406.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2467, allocations: 0 / 406.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002667/0.2494, allocations: 1.957 MB / 408.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.2495, allocations: 106.8 kB / 408.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2496, allocations: 187.8 kB / 409.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.2497, allocations: 37.7 kB / 409.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.2498, allocations: 140.9 kB / 409.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.2499, allocations: 174.5 kB / 409.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.25, allocations: 70.14 kB / 409.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2501, allocations: 334.8 kB / 409.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.2502, allocations: 96.83 kB / 409.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2504, allocations: 162.3 kB / 410.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.2508, allocations: 264.5 kB / 410.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2508, allocations: 0 / 410.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000472/0.2513, allocations: 350.3 kB / 410.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2513, allocations: 11.75 kB / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2513, allocations: 0 / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2513, allocations: 4 kB / 410.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2517, allocations: 95.89 kB / 410.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2517, allocations: 4 kB / 410.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2518, allocations: 4 kB / 410.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2518, allocations: 16 kB / 410.8 MB, free: 13.65 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.0001413/0.252, allocations: 153.8 kB / 410.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.2521, allocations: 31.8 kB / 411 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.731e-05/0.2522, allocations: 37.86 kB / 411 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2522, allocations: 8 kB / 411 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.2522, allocations: 4 kB / 411 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.2522, allocations: 3.984 kB / 411 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.2535, allocations: 1.059 MB / 412.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2535, allocations: 3.938 kB / 412.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.2539, allocations: 100.1 kB / 412.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2539, allocations: 4 kB / 412.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2539, allocations: 12.09 kB / 412.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2539, allocations: 7.938 kB / 412.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2539, allocations: 3.938 kB / 412.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.2547, allocations: 0.7248 MB / 412.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.2548, allocations: 105 kB / 413 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.2548, allocations: 16 kB / 413 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.255, allocations: 12 kB / 413.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.2551, allocations: 31.89 kB / 413.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2551, allocations: 12 kB / 413.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2552, allocations: 140.5 kB / 413.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 413.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.2557, allocations: 72 kB / 413.3 MB, free: 10.96 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.0009989/0.2567, allocations: 1.275 MB / 414.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.2572, allocations: 273.2 kB / 414.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2572, allocations: 0 / 414.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.2575, allocations: 143.7 kB / 415 MB, free: 9.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.2582, allocations: 67.77 kB / 415.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.2618, allocations: 3.306 MB / 418.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.2622, allocations: 0.7644 MB / 419.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.2623, allocations: 30.97 kB / 419.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.2624, allocations: 91.41 kB / 419.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2624, allocations: 0 / 419.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2847, allocations: 5.952 MB / 425.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.215, allocations: 0 / 425.2 MB, free: 14.93 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