Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.0014/0.0014, allocations: 113 kB / 18.49 MB, free: 4.539 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.001654/0.001654, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 63.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1415, allocations: 66 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5021/0.6437, allocations: 177.9 MB / 0.7298 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008611/0.6523, allocations: 5.346 MB / 0.735 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007716/0.6531, allocations: 27.75 kB / 0.735 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.6541, allocations: 322 kB / 0.7353 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.6576, allocations: 1.272 MB / 0.7366 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.6602, allocations: 0.9629 MB / 0.7375 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00301/0.6632, allocations: 1.848 MB / 0.7393 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008716/0.6641, allocations: 409.4 kB / 0.7397 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.6674, allocations: 1.109 MB / 0.7408 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.6685, allocations: 0.6929 MB / 0.7415 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.6686, allocations: 60 kB / 0.7415 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.6704, allocations: 0.632 MB / 0.7421 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.6708, allocations: 275.1 kB / 0.7424 GB, free: 2.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.6713, allocations: 398.1 kB / 0.7428 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.6732, allocations: 1.312 MB / 0.7441 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6732, allocations: 0 / 0.7441 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6732, allocations: 0 / 0.7441 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6732, allocations: 0 / 0.7441 GB, free: 0.8281 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002391/0.6756, allocations: 1.117 MB / 0.7452 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6756, allocations: 8.031 kB / 0.7452 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.505e-05/0.6756, allocations: 16.94 kB / 0.7452 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.6758, allocations: 106.4 kB / 0.7453 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008489/0.6766, allocations: 139.4 kB / 0.7454 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.6775, allocations: 0.5318 MB / 0.7459 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.6777, allocations: 104.4 kB / 0.746 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.139e-05/0.6778, allocations: 44 kB / 0.7461 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6791, allocations: 0.8136 MB / 0.7469 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.6791, allocations: 7.922 kB / 0.7469 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.6792, allocations: 24 kB / 0.7469 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.6793, allocations: 40.92 kB / 0.7469 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.6804, allocations: 0.6243 MB / 0.7476 GB, free: 13.07 MB / 0.5606 GB 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.004993/0.6854, allocations: 3.937 MB / 0.7514 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.686, allocations: 337.8 kB / 0.7517 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.6863, allocations: 165.8 kB / 0.7519 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.6865, allocations: 93.38 kB / 0.752 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6865, allocations: 42.83 kB / 0.752 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.013e-06/0.6865, allocations: 0 / 0.752 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006035/0.6925, allocations: 1.683 MB / 0.7537 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6926, allocations: 136.5 kB / 0.7538 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.6934, allocations: 0.6095 MB / 0.7544 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.6935, allocations: 33.7 kB / 0.7544 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.6938, allocations: 379.8 kB / 0.7548 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.6939, allocations: 154.7 kB / 0.7549 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.6942, allocations: 150.6 kB / 0.7551 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6944, allocations: 378.8 kB / 0.7554 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.6948, allocations: 209.8 kB / 0.7556 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007719/0.6955, allocations: 0.5125 MB / 0.7561 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6966, allocations: 0.7477 MB / 0.7569 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6966, allocations: 4 kB / 0.7569 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001619/0.6983, allocations: 0.8764 MB / 0.7577 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6983, allocations: 19.88 kB / 0.7577 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6983, allocations: 8 kB / 0.7577 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6997, allocations: 323.2 kB / 0.758 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.7001, allocations: 119.8 kB / 0.7582 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.7014, allocations: 0.9308 MB / 0.7591 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.7019, allocations: 35.73 kB / 0.7591 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.702, allocations: 64 kB / 0.7592 GB, free: 444 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.7023, allocations: 251.3 kB / 0.7594 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.7025, allocations: 67.58 kB / 0.7595 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.7042, allocations: 0.8656 MB / 0.7603 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.7042, allocations: 4 kB / 0.7603 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7042, allocations: 0 / 0.7603 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.7043, allocations: 3.984 kB / 0.7603 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.7067, allocations: 1.461 MB / 0.7618 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7067, allocations: 0.625 kB / 0.7618 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.7079, allocations: 215.9 kB / 0.762 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.708, allocations: 24.84 kB / 0.762 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.7081, allocations: 16 kB / 0.762 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.7116, allocations: 2.88 MB / 0.7648 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7116, allocations: 4 kB / 0.7648 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.7134, allocations: 0.823 MB / 0.7656 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.7139, allocations: 188.7 kB / 0.7658 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.714, allocations: 12.06 kB / 0.7658 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.7143, allocations: 15.98 kB / 0.7658 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7145, allocations: 47.89 kB / 0.7659 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.417e-05/0.7145, allocations: 39.98 kB / 0.7659 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006411/0.7152, allocations: 439 kB / 0.7663 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7152, allocations: 0 / 0.7663 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001091/0.7163, allocations: 255.7 kB / 0.7666 GB, free: 8.359 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.002571/0.7188, allocations: 1.549 MB / 0.7681 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.7202, allocations: 0.539 MB / 0.7686 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7202, allocations: 4 kB / 0.7686 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.7213, allocations: 406.3 kB / 0.769 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.723, allocations: 376.8 kB / 0.7694 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.7325, allocations: 6.312 MB / 0.7755 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.7332, allocations: 0.9376 MB / 0.7764 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001119/0.7343, allocations: 462.4 kB / 0.7769 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.7348, allocations: 287.3 kB / 0.7772 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.7348, allocations: 0 / 0.7772 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/0.7943, allocations: 24.52 MB / 0.8011 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.82, allocations: 2.812 kB / 0.8011 GB, free: 4.797 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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: 17.302400058018975]