Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.0007934/0.0007934, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003031/0.003031, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.812/0.812, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.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.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.649e-05, allocations: 6.219 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2061/0.2061, allocations: 129.5 MB / 428 MB, free: 12.78 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.2069, allocations: 0.8798 MB / 428.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.207, allocations: 4 kB / 428.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2072, allocations: 31.72 kB / 428.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.2077, allocations: 250.5 kB / 429.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.208, allocations: 119.6 kB / 429.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.2082, allocations: 175.8 kB / 429.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.2082, allocations: 3.984 kB / 429.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.2084, allocations: 107.7 kB / 429.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.2085, allocations: 51.83 kB / 429.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2085, allocations: 4 kB / 429.6 MB, free: 11.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.2088, allocations: 255.6 kB / 429.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.2089, allocations: 19.92 kB / 429.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.2089, allocations: 39.91 kB / 429.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003479/0.2093, allocations: 319.2 kB / 430.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2093, allocations: 0 / 430.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2093, allocations: 0 / 430.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2093, allocations: 1.219 kB / 430.2 MB, free: 10.54 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004982/0.2098, allocations: 341.8 kB / 430.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2098, allocations: 15.92 kB / 430.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2099, allocations: 38.75 kB / 430.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.2109, allocations: 204.6 kB / 430.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.2112, allocations: 137.8 kB / 430.9 MB, free: 9.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2112, allocations: 8.375 kB / 430.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.2112, allocations: 16.33 kB / 430.9 MB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.2116, allocations: 305 kB / 431.2 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2116, allocations: 0 / 431.2 MB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.2116, allocations: 8 kB / 431.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2116, allocations: 0 / 431.3 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.2119, allocations: 167.9 kB / 431.4 MB, free: 9.227 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.2126, allocations: 0.5345 MB / 431.9 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2128, allocations: 134.5 kB / 432.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.2129, allocations: 68.83 kB / 432.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2129, allocations: 0 / 432.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2129, allocations: 38.5 kB / 432.2 MB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.2129, allocations: 0 / 432.2 MB, free: 8.387 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00283/0.2158, allocations: 1.159 MB / 433.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2158, allocations: 51.41 kB / 433.4 MB, free: 7.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.2159, allocations: 110.2 kB / 433.5 MB, free: 7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2159, allocations: 29.7 kB / 433.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.2159, allocations: 95.98 kB / 433.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.216, allocations: 71.42 kB / 433.7 MB, free: 6.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.216, allocations: 49.7 kB / 433.7 MB, free: 6.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.2161, allocations: 326.8 kB / 434.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.2162, allocations: 67.97 kB / 434.1 MB, free: 6.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2163, allocations: 108.2 kB / 434.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.2165, allocations: 195.1 kB / 434.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2165, allocations: 0 / 434.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002971/0.2168, allocations: 254.3 kB / 434.7 MB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2168, allocations: 8 kB / 434.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2168, allocations: 0 / 434.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.217, allocations: 56.86 kB / 434.7 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2171, allocations: 47.97 kB / 434.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002796/0.2174, allocations: 0.5719 MB / 435.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.2175, allocations: 7.938 kB / 435.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.2175, allocations: 27.98 kB / 435.4 MB, free: 5.023 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.519e-05/0.2176, allocations: 117.8 kB / 435.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.2176, allocations: 15.98 kB / 435.5 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.2181, allocations: 344.6 kB / 435.9 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2181, allocations: 4 kB / 435.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2181, allocations: 0 / 435.9 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2181, allocations: 7.922 kB / 435.9 MB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.2188, allocations: 0.5878 MB / 436.5 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2188, allocations: 0 / 436.5 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.219, allocations: 67.55 kB / 436.5 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.528e-05/0.219, allocations: 20.84 kB / 436.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.219, allocations: 15.98 kB / 436.6 MB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.2199, allocations: 1.256 MB / 437.8 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2199, allocations: 3.938 kB / 437.8 MB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.2203, allocations: 435.1 kB / 438.2 MB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.2203, allocations: 7.953 kB / 438.3 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2203, allocations: 7.938 kB / 438.3 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2204, allocations: 8 kB / 438.3 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.2205, allocations: 23.95 kB / 438.3 MB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.2205, allocations: 28 kB / 438.3 MB, free: 1.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.2205, allocations: 83.27 kB / 438.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2205, allocations: 4 kB / 438.4 MB, free: 1.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.2208, allocations: 75.94 kB / 438.5 MB, free: 1.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007666/0.2216, allocations: 1.013 MB / 439.5 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.2219, allocations: 195.8 kB / 439.7 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2219, allocations: 0 / 439.7 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2221, allocations: 222.8 kB / 439.9 MB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2224, allocations: 57.42 kB / 440 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.2241, allocations: 2.007 MB / 442 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.486e-05/0.2241, allocations: 86.11 kB / 442 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.2243, allocations: 81.44 kB / 442.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.2245, allocations: 64.47 kB / 442.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2245, allocations: 0 / 442.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.2479, allocations: 7.987 MB / 450.2 MB, free: 5.773 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.167, allocations: 0 / 450.2 MB, free: 5.773 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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: 9.669567253440619]