Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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.0007644/0.0007644, allocations: 75.7 kB / 20.02 MB, free: 4.504 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.0009539/0.0009539, allocations: 169.9 kB / 23.32 MB, free: 1.203 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 1.065/1.065, allocations: 158.6 MB / 185.1 MB, free: 2.996 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1404/0.1404, allocations: 32.38 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 407 MB, free: 2.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.356e-05, allocations: 5.938 kB / 407 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3229/0.3229, allocations: 129.6 MB / 0.524 GB, free: 24.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.3239, allocations: 0.8831 MB / 0.5249 GB, free: 23.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.324, allocations: 1.281 kB / 0.5249 GB, free: 23.7 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.3243, allocations: 30.27 kB / 0.5249 GB, free: 23.68 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.3249, allocations: 250.9 kB / 0.5251 GB, free: 23.55 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.3252, allocations: 122.2 kB / 0.5253 GB, free: 23.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3254, allocations: 169.8 kB / 0.5254 GB, free: 23.42 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.3255, allocations: 6.219 kB / 0.5254 GB, free: 23.42 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.3257, allocations: 114.3 kB / 0.5255 GB, free: 23.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3258, allocations: 44.47 kB / 0.5256 GB, free: 23.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3258, allocations: 4.688 kB / 0.5256 GB, free: 23.36 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.3263, allocations: 261.5 kB / 0.5258 GB, free: 23.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.3264, allocations: 23.12 kB / 0.5259 GB, free: 23.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.3265, allocations: 36.62 kB / 0.5259 GB, free: 23.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.3271, allocations: 317.2 kB / 0.5262 GB, free: 23.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.3271, allocations: 0 / 0.5262 GB, free: 23.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3271, allocations: 0 / 0.5262 GB, free: 23.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3271, allocations: 2.062 kB / 0.5262 GB, free: 23.17 MB / 442.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.0006143/0.3277, allocations: 329.6 kB / 0.5265 GB, free: 22.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.3278, allocations: 10.16 kB / 0.5265 GB, free: 22.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.3278, allocations: 43.81 kB / 0.5266 GB, free: 22.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.329, allocations: 200 kB / 0.5268 GB, free: 22.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3293, allocations: 156.2 kB / 0.5269 GB, free: 22.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3293, allocations: 4.188 kB / 0.5269 GB, free: 22.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.3293, allocations: 9.969 kB / 0.5269 GB, free: 22.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.3297, allocations: 299.3 kB / 0.5272 GB, free: 22.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3297, allocations: 9.125 kB / 0.5272 GB, free: 22.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.3298, allocations: 5.094 kB / 0.5272 GB, free: 22.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3298, allocations: 2.25 kB / 0.5272 GB, free: 22.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.3301, allocations: 165.2 kB / 0.5274 GB, free: 22.38 MB / 442.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.0008508/0.331, allocations: 0.5258 MB / 0.5279 GB, free: 21.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3312, allocations: 130.8 kB / 0.528 GB, free: 21.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3314, allocations: 69.88 kB / 0.5281 GB, free: 21.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3314, allocations: 2.719 kB / 0.5281 GB, free: 21.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.3314, allocations: 37.16 kB / 0.5281 GB, free: 21.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.424e-06/0.3314, allocations: 0 / 0.5281 GB, free: 21.77 MB / 442.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.00298/0.3344, allocations: 1.153 MB / 0.5292 GB, free: 21.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.3344, allocations: 57.56 kB / 0.5293 GB, free: 21.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.97e-05/0.3345, allocations: 116.6 kB / 0.5294 GB, free: 21.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3345, allocations: 31.02 kB / 0.5294 GB, free: 21.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.3345, allocations: 94.42 kB / 0.5295 GB, free: 20.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.3346, allocations: 68.58 kB / 0.5296 GB, free: 20.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.3346, allocations: 59.12 kB / 0.5297 GB, free: 20.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.3347, allocations: 320.2 kB / 0.53 GB, free: 20.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.3348, allocations: 69.86 kB / 0.53 GB, free: 20.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3349, allocations: 99.62 kB / 0.5301 GB, free: 20.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3351, allocations: 191 kB / 0.5303 GB, free: 20.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3351, allocations: 5 kB / 0.5303 GB, free: 20.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003058/0.3354, allocations: 256.3 kB / 0.5306 GB, free: 20.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3354, allocations: 6.094 kB / 0.5306 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3354, allocations: 1.719 kB / 0.5306 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.3355, allocations: 47.94 kB / 0.5306 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3357, allocations: 62.2 kB / 0.5307 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002429/0.336, allocations: 0.5614 MB / 0.5312 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.336, allocations: 11.03 kB / 0.5312 GB, free: 19.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3361, allocations: 24.66 kB / 0.5312 GB, free: 19.68 MB / 442.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 7.899e-05/0.3362, allocations: 120.6 kB / 0.5314 GB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3362, allocations: 9.859 kB / 0.5314 GB, free: 19.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.3367, allocations: 354.9 kB / 0.5317 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3367, allocations: 1.25 kB / 0.5317 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3367, allocations: 2.547 kB / 0.5317 GB, free: 19.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3367, allocations: 5.203 kB / 0.5317 GB, free: 19.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.3373, allocations: 0.5697 MB / 0.5323 GB, free: 18.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3373, allocations: 1.438 kB / 0.5323 GB, free: 18.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.3374, allocations: 66.97 kB / 0.5323 GB, free: 18.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-05/0.3375, allocations: 22.17 kB / 0.5324 GB, free: 18.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3375, allocations: 13.05 kB / 0.5324 GB, free: 18.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/0.338, allocations: 1.257 MB / 0.5336 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.338, allocations: 5.094 kB / 0.5336 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.3384, allocations: 431.7 kB / 0.534 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.3384, allocations: 19.08 kB / 0.534 GB, free: 17.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3384, allocations: 10.12 kB / 0.534 GB, free: 17.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3386, allocations: 7.531 kB / 0.5341 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3386, allocations: 27.05 kB / 0.5341 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3386, allocations: 25.8 kB / 0.5341 GB, free: 17.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.3386, allocations: 92.17 kB / 0.5342 GB, free: 17.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3386, allocations: 0 / 0.5342 GB, free: 17.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.3389, allocations: 85.94 kB / 0.5343 GB, free: 17.31 MB / 442.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.0006852/0.3396, allocations: 0.9955 MB / 0.5352 GB, free: 16.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.3399, allocations: 208 kB / 0.5354 GB, free: 16.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3399, allocations: 0 / 0.5354 GB, free: 16.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.3401, allocations: 217.9 kB / 0.5357 GB, free: 16.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3404, allocations: 52.48 kB / 0.5357 GB, free: 16.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3418, allocations: 2.004 MB / 0.5377 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.3419, allocations: 90.41 kB / 0.5377 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.3421, allocations: 77.78 kB / 0.5378 GB, free: 14.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.3422, allocations: 68.91 kB / 0.5379 GB, free: 14.56 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3422, allocations: 0 / 0.5379 GB, free: 14.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3701, allocations: 7.984 MB / 0.5457 GB, free: 12.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.285, allocations: 6.469 kB / 0.5457 GB, free: 12.94 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.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: 10.710905504412949]