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.001289/0.001289, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001359/0.001359, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.00224/0.00224, allocations: 47.92 kB / 373 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 53.33 MB / 426.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003864/0.1357, allocations: 2.452 MB / 428.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000552/0.1363, allocations: 243.1 kB / 429 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1364, allocations: 7.938 kB / 429 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1366, allocations: 43.58 kB / 429 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1367, allocations: 87.27 kB / 429.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1369, allocations: 55.92 kB / 429.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.1372, allocations: 290.6 kB / 429.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1374, allocations: 69.72 kB / 429.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1376, allocations: 119.6 kB / 429.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1377, allocations: 115.5 kB / 429.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1378, allocations: 20 kB / 429.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.042e-05/0.1378, allocations: 28 kB / 429.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.2e-05/0.1379, allocations: 51.84 kB / 429.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.138, allocations: 131.3 kB / 430 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.1384, allocations: 294.7 kB / 430.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1384, allocations: 4 kB / 430.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1384, allocations: 0 / 430.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1384, allocations: 0 / 430.3 MB, free: 0.9219 MB / 350.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.0008163/0.1392, allocations: 0.5533 MB / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1392, allocations: 8.031 kB / 430.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.1393, allocations: 58.73 kB / 430.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.1393, allocations: 32.75 kB / 430.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.184/0.3233, allocations: 237.4 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.3234, allocations: 17.41 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.3234, allocations: 26.94 kB / 431.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.3238, allocations: 239.8 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3238, allocations: 6.469 kB / 431.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3239, allocations: 10.64 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3239, allocations: 10.25 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.3241, allocations: 164 kB / 431.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.325, allocations: 0.7889 MB / 432.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.3255, allocations: 279.9 kB / 432.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3257, allocations: 126.2 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.3257, allocations: 4.625 kB / 432.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3257, allocations: 37.25 kB / 432.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.3257, allocations: 2 kB / 432.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002051/0.3277, allocations: 1.961 MB / 434.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.3278, allocations: 109.5 kB / 434.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3279, allocations: 187.8 kB / 435.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3279, allocations: 31.92 kB / 435.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.328, allocations: 141.2 kB / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.328, allocations: 167.3 kB / 435.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.3281, allocations: 74.73 kB / 435.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.3282, allocations: 337.6 kB / 435.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3283, allocations: 91.81 kB / 435.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3285, allocations: 159 kB / 436.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3288, allocations: 276.1 kB / 436.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3288, allocations: 0 / 436.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004251/0.3292, allocations: 346.9 kB / 436.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3292, allocations: 7 kB / 436.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3292, allocations: 2.219 kB / 436.7 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.3292, allocations: 7.312 kB / 436.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.3296, allocations: 95.53 kB / 436.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3296, allocations: 7 kB / 436.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.3297, allocations: 6.406 kB / 436.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3297, allocations: 16.25 kB / 436.8 MB, free: 7.785 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 9.344e-05/0.3298, allocations: 153.6 kB / 437 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.3299, allocations: 34.33 kB / 437 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.33, allocations: 39.72 kB / 437.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.33, allocations: 9.344 kB / 437.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.33, allocations: 0.9375 kB / 437.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.33, allocations: 4.109 kB / 437.1 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.331, allocations: 1.059 MB / 438.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3311, allocations: 2.344 kB / 438.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.3314, allocations: 92.81 kB / 438.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.3314, allocations: 5.219 kB / 438.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3314, allocations: 13.31 kB / 438.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3314, allocations: 8.594 kB / 438.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3314, allocations: 2.344 kB / 438.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.332, allocations: 0.7179 MB / 439 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3321, allocations: 101.2 kB / 439.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.3321, allocations: 18.23 kB / 439.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3323, allocations: 12.16 kB / 439.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.3323, allocations: 37.64 kB / 439.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3324, allocations: 17.44 kB / 439.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.917e-05/0.3325, allocations: 139.4 kB / 439.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3325, allocations: 0 / 439.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004097/0.3329, allocations: 75.41 kB / 439.4 MB, free: 6.043 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.0007548/0.3336, allocations: 1.272 MB / 440.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.334, allocations: 257.3 kB / 440.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.334, allocations: 1.188 kB / 440.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3342, allocations: 130.9 kB / 441 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.3349, allocations: 81.73 kB / 441.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3379, allocations: 3.284 MB / 444.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3381, allocations: 0.768 MB / 445.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3383, allocations: 36.73 kB / 445.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3384, allocations: 90.48 kB / 445.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3384, allocations: 1.25 kB / 445.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.3701, allocations: 5.981 MB / 451.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.641, allocations: 5.094 kB / 451.3 MB, free: 0.9219 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.10696373799874]