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.001023/0.001023, allocations: 76.53 kB / 19.92 MB, free: 4.637 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.001327/0.001327, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9631/0.9631, allocations: 158.6 MB / 185 MB, free: 3.039 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.149/0.149, allocations: 32.37 MB / 269.6 MB, free: 14.96 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.352e-06/1.352e-06, allocations: 3.938 kB / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.232e-05, allocations: 10.08 kB / 406.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3072/0.3072, allocations: 129.5 MB / 0.5238 GB, free: 24.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.308, allocations: 0.884 MB / 0.5247 GB, free: 23.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.3081, allocations: 0 / 0.5247 GB, free: 23.79 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.3084, allocations: 33.83 kB / 0.5247 GB, free: 23.77 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005955/0.309, allocations: 248.5 kB / 0.5249 GB, free: 23.64 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.3093, allocations: 123 kB / 0.525 GB, free: 23.58 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3095, allocations: 167.5 kB / 0.5252 GB, free: 23.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.3096, allocations: 11.67 kB / 0.5252 GB, free: 23.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3098, allocations: 110 kB / 0.5253 GB, free: 23.46 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.3099, allocations: 43.91 kB / 0.5254 GB, free: 23.45 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3099, allocations: 5.812 kB / 0.5254 GB, free: 23.45 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.3103, allocations: 265 kB / 0.5256 GB, free: 23.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.3104, allocations: 20.03 kB / 0.5256 GB, free: 23.37 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.3104, allocations: 39.17 kB / 0.5257 GB, free: 23.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.3109, allocations: 309 kB / 0.526 GB, free: 23.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3109, allocations: 0 / 0.526 GB, free: 23.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3109, allocations: 0 / 0.526 GB, free: 23.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3109, allocations: 1.219 kB / 0.526 GB, free: 23.26 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.0004333/0.3113, allocations: 334.6 kB / 0.5263 GB, free: 22.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3114, allocations: 10.45 kB / 0.5263 GB, free: 22.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3114, allocations: 43.53 kB / 0.5263 GB, free: 22.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.3125, allocations: 205.9 kB / 0.5265 GB, free: 22.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3127, allocations: 146.9 kB / 0.5267 GB, free: 22.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3128, allocations: 8.562 kB / 0.5267 GB, free: 22.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.3128, allocations: 9.953 kB / 0.5267 GB, free: 22.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.3132, allocations: 303.3 kB / 0.527 GB, free: 22.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3132, allocations: 7.984 kB / 0.527 GB, free: 22.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.3132, allocations: 5.672 kB / 0.527 GB, free: 22.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3132, allocations: 2.25 kB / 0.527 GB, free: 22.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.3135, allocations: 164.8 kB / 0.5272 GB, free: 22.46 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.0006958/0.3142, allocations: 0.5218 MB / 0.5277 GB, free: 21.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3144, allocations: 133.7 kB / 0.5278 GB, free: 21.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.3145, allocations: 74.05 kB / 0.5279 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3146, allocations: 2.719 kB / 0.5279 GB, free: 21.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.3146, allocations: 37.36 kB / 0.5279 GB, free: 21.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3146, allocations: 0 / 0.5279 GB, free: 21.85 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.003176/0.3178, allocations: 1.153 MB / 0.529 GB, free: 21.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.3178, allocations: 65.53 kB / 0.5291 GB, free: 21.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.3179, allocations: 109.4 kB / 0.5292 GB, free: 21.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3179, allocations: 31.45 kB / 0.5292 GB, free: 21.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.3179, allocations: 92.72 kB / 0.5293 GB, free: 21.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.318, allocations: 73.56 kB / 0.5294 GB, free: 20.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.318, allocations: 55.55 kB / 0.5294 GB, free: 20.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.3181, allocations: 320.1 kB / 0.5297 GB, free: 20.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3182, allocations: 72.47 kB / 0.5298 GB, free: 20.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3183, allocations: 100.7 kB / 0.5299 GB, free: 20.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3185, allocations: 187.2 kB / 0.5301 GB, free: 20.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3185, allocations: 1.156 kB / 0.5301 GB, free: 20.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003509/0.3189, allocations: 258.8 kB / 0.5303 GB, free: 20.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3189, allocations: 5.188 kB / 0.5303 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3189, allocations: 1.531 kB / 0.5303 GB, free: 20.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3191, allocations: 53.16 kB / 0.5304 GB, free: 20.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.3193, allocations: 52.11 kB / 0.5304 GB, free: 20.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002513/0.3195, allocations: 0.5715 MB / 0.531 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.3196, allocations: 6.594 kB / 0.531 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.3197, allocations: 28.17 kB / 0.531 GB, free: 19.76 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 9.524e-05/0.3197, allocations: 120 kB / 0.5312 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3198, allocations: 9.844 kB / 0.5312 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.3203, allocations: 350.8 kB / 0.5315 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3203, allocations: 2.094 kB / 0.5315 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3203, allocations: 1.188 kB / 0.5315 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3203, allocations: 3.938 kB / 0.5315 GB, free: 19.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.321, allocations: 0.5778 MB / 0.5321 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.321, allocations: 1.125 kB / 0.5321 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.3212, allocations: 60.83 kB / 0.5321 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.3213, allocations: 27.61 kB / 0.5322 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3213, allocations: 13.55 kB / 0.5322 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005803/0.3219, allocations: 1.256 MB / 0.5334 GB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3219, allocations: 5.344 kB / 0.5334 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.3223, allocations: 439.7 kB / 0.5338 GB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.3224, allocations: 17.84 kB / 0.5338 GB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3224, allocations: 11.47 kB / 0.5338 GB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3225, allocations: 4.297 kB / 0.5338 GB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.3225, allocations: 24.7 kB / 0.5339 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3226, allocations: 31.52 kB / 0.5339 GB, free: 17.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.3226, allocations: 87.69 kB / 0.534 GB, free: 17.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3226, allocations: 0 / 0.534 GB, free: 17.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000343/0.3229, allocations: 83.94 kB / 0.5341 GB, free: 17.39 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.0007423/0.3237, allocations: 0.9993 MB / 0.535 GB, free: 16.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.324, allocations: 198.5 kB / 0.5352 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.324, allocations: 0 / 0.5352 GB, free: 16.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3243, allocations: 220.8 kB / 0.5354 GB, free: 16.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3246, allocations: 59.69 kB / 0.5355 GB, free: 16.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.3262, allocations: 1.999 MB / 0.5374 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.495e-05/0.3262, allocations: 91.31 kB / 0.5375 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3265, allocations: 76.67 kB / 0.5376 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3266, allocations: 65.97 kB / 0.5377 GB, free: 14.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/0.3266, allocations: 0 / 0.5377 GB, free: 14.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3547, allocations: 7.992 MB / 0.5455 GB, free: 13.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.267, allocations: 5.578 kB / 0.5455 GB, free: 13.03 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.506370779126883]