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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8577/0.8577, allocations: 173.3 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.963e-05, allocations: 9.453 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002105/0.002124, allocations: 2.253 MB / 320.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.002526, allocations: 235.1 kB / 320.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.002619, allocations: 7.938 kB / 320.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.002735, allocations: 47.56 kB / 321 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.002842, allocations: 95.09 kB / 321 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002985, allocations: 59.89 kB / 321.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.003189, allocations: 302.4 kB / 321.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.003335, allocations: 73.97 kB / 321.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.003464, allocations: 167.7 kB / 321.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.003562, allocations: 83.77 kB / 321.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.003593, allocations: 24 kB / 321.7 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.003615, allocations: 20 kB / 321.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.003648, allocations: 55.77 kB / 321.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.003704, allocations: 87.81 kB / 321.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.003925, allocations: 299 kB / 322.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003927, allocations: 0 / 322.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003928, allocations: 0 / 322.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.003933, allocations: 0 / 322.2 MB, free: 2.559 MB / 282.7 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.0004929/0.004426, allocations: 480.8 kB / 322.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.004461, allocations: 12.92 kB / 322.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.004504, allocations: 66.72 kB / 322.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.004541, allocations: 32.75 kB / 322.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.004735, allocations: 182 kB / 323 MB, free: 1.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.004748, allocations: 16.88 kB / 323 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.004781, allocations: 28.33 kB / 323 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.005038, allocations: 243.2 kB / 323.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.005052, allocations: 192 / 323.2 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.005068, allocations: 12.38 kB / 323.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.005075, allocations: 8.125 kB / 323.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.005257, allocations: 163.8 kB / 323.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.005916, allocations: 0.7066 MB / 324.1 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.006266, allocations: 287.8 kB / 324.4 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.006422, allocations: 114.5 kB / 324.5 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.006436, allocations: 4 kB / 324.5 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.006456, allocations: 42.5 kB / 324.6 MB, free: 16 kB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.006458, allocations: 0 / 324.6 MB, free: 16 kB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001548/0.008005, allocations: 1.507 MB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.008049, allocations: 110.8 kB / 326.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.008163, allocations: 195.8 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.008246, allocations: 33.7 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.008327, allocations: 136.9 kB / 326.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.008407, allocations: 174.5 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.008472, allocations: 70.2 kB / 326.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.008554, allocations: 334.8 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.008655, allocations: 96.95 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.008783, allocations: 158.9 kB / 327.3 MB, free: 12.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.009034, allocations: 275 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009036, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003455/0.009381, allocations: 351.3 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.009395, allocations: 4 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.009401, allocations: 4 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009416, allocations: 7.938 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.009596, allocations: 91.89 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.009602, allocations: 4 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.009658, allocations: 8 kB / 328.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.009675, allocations: 19.98 kB / 328.1 MB, free: 12.22 MB / 298.7 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.0002409/0.009916, allocations: 150.7 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.00996, allocations: 31.81 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.01, allocations: 41.83 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01001, allocations: 7.938 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01001, allocations: 4 kB / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.01002, allocations: 0 / 328.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008433/0.01086, allocations: 0.9823 MB / 329.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01087, allocations: 8.062 kB / 329.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.01105, allocations: 95.83 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01106, allocations: 4 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.01107, allocations: 16 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.01107, allocations: 7.938 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01108, allocations: 7.984 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.01158, allocations: 0.7136 MB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.01164, allocations: 27.92 kB / 330.2 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.01168, allocations: 15.94 kB / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.0118, allocations: 12 kB / 330.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.01183, allocations: 31.94 kB / 330.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01185, allocations: 12 kB / 330.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.01192, allocations: 139.2 kB / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01192, allocations: 0 / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.01219, allocations: 72 kB / 330.5 MB, free: 9.723 MB / 298.7 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.0006821/0.01288, allocations: 1.271 MB / 331.7 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.01318, allocations: 258.5 kB / 332 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01318, allocations: 0 / 332 MB, free: 8.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.0133, allocations: 135.7 kB / 332.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.01372, allocations: 72.3 kB / 332.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.01611, allocations: 3.163 MB / 335.4 MB, free: 4.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.01623, allocations: 155.8 kB / 335.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.855e-05/0.01631, allocations: 42.88 kB / 335.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.01642, allocations: 92.47 kB / 335.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01642, allocations: 4 kB / 335.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.03471, allocations: 6.822 MB / 342.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/6.901, allocations: 8.062 kB / 342.5 MB, free: 13.63 MB / 314.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv. Warning: Get data of variable springDamper3.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.583680657669902]