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.001582/0.001582, allocations: 123.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.001947/0.001947, allocations: 200.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.455/1.455, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00175/0.00175, allocations: 51.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1053, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003909/0.1092, allocations: 2.45 MB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006681/0.1099, allocations: 235.1 kB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.11, allocations: 7.938 kB / 429 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1102, allocations: 43.58 kB / 429 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1105, allocations: 83.27 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1107, allocations: 59.92 kB / 429.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.1111, allocations: 294.6 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1113, allocations: 65.7 kB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1114, allocations: 115.6 kB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1116, allocations: 119.5 kB / 429.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.1117, allocations: 24 kB / 429.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.1117, allocations: 24 kB / 429.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.1118, allocations: 51.83 kB / 429.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1119, allocations: 131.3 kB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.1123, allocations: 298.7 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1123, allocations: 0 / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1123, allocations: 0 / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.1123, allocations: 0 / 430.3 MB, free: 0.7852 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.0008639/0.1132, allocations: 0.5495 MB / 430.8 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1132, allocations: 12.02 kB / 430.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.405e-05/0.1133, allocations: 54.73 kB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.1133, allocations: 32.75 kB / 430.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1785/0.2918, allocations: 238.7 kB / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2918, allocations: 18.91 kB / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.2919, allocations: 24.14 kB / 431.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.2923, allocations: 246 kB / 431.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2923, allocations: 4.109 kB / 431.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.2924, allocations: 10.44 kB / 431.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2924, allocations: 9.344 kB / 431.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.2927, allocations: 164.9 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2937, allocations: 0.793 MB / 432.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.2942, allocations: 279.7 kB / 432.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.2944, allocations: 125.6 kB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2944, allocations: 4.75 kB / 432.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.2944, allocations: 38.61 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.2944, allocations: 1.078 kB / 432.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002216/0.2967, allocations: 1.958 MB / 434.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2967, allocations: 115.2 kB / 434.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2968, allocations: 187.7 kB / 435.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2969, allocations: 32.64 kB / 435.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.2969, allocations: 144.9 kB / 435.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.612e-05/0.297, allocations: 170.4 kB / 435.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.2971, allocations: 72.09 kB / 435.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.2972, allocations: 338.1 kB / 435.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.2973, allocations: 91.67 kB / 435.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2975, allocations: 154.5 kB / 436.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.2979, allocations: 272.5 kB / 436.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2979, allocations: 0 / 436.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005018/0.2984, allocations: 343.5 kB / 436.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2984, allocations: 9.875 kB / 436.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2984, allocations: 1.125 kB / 436.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2984, allocations: 4.312 kB / 436.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.2988, allocations: 100.9 kB / 436.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2988, allocations: 4.719 kB / 436.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2989, allocations: 15.41 kB / 436.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2989, allocations: 16.44 kB / 436.8 MB, free: 7.668 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 0.0001104/0.299, allocations: 154.1 kB / 437 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.2991, allocations: 25.42 kB / 437 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.2992, allocations: 38.23 kB / 437.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2992, allocations: 9.812 kB / 437.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.2992, allocations: 4.906 kB / 437.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2992, allocations: 2.438 kB / 437.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3004, allocations: 1.049 MB / 438.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3004, allocations: 7.109 kB / 438.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.3007, allocations: 88.11 kB / 438.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3007, allocations: 4.609 kB / 438.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3008, allocations: 14.41 kB / 438.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3008, allocations: 8.672 kB / 438.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3008, allocations: 4.766 kB / 438.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.3014, allocations: 0.7199 MB / 439 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.3015, allocations: 104.1 kB / 439.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3015, allocations: 24.17 kB / 439.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3017, allocations: 8.094 kB / 439.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3018, allocations: 34.05 kB / 439.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3018, allocations: 15.84 kB / 439.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.992e-05/0.3019, allocations: 141.2 kB / 439.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3019, allocations: 0 / 439.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.3023, allocations: 72.58 kB / 439.4 MB, free: 5.938 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.0007893/0.3031, allocations: 1.282 MB / 440.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004327/0.3036, allocations: 251.3 kB / 440.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3036, allocations: 0 / 440.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3037, allocations: 134.2 kB / 441 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.3044, allocations: 73.48 kB / 441.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.3082, allocations: 3.286 MB / 444.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3085, allocations: 0.767 MB / 445.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.3086, allocations: 36.66 kB / 445.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3088, allocations: 91.47 kB / 445.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3088, allocations: 4 kB / 445.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.3439, allocations: 5.982 MB / 451.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.552, allocations: 13.53 kB / 451.3 MB, free: 0.8125 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.88238733401522]