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.001611/0.001611, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.002131/0.002131, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2437/0.2437, allocations: 46.93 MB / 357.1 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.88 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1532, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5436/0.6968, allocations: 177.9 MB / 0.7291 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008698/0.7055, allocations: 5.35 MB / 0.7343 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.7065, allocations: 27.75 kB / 0.7343 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.7079, allocations: 325.9 kB / 0.7347 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004643/0.7125, allocations: 1.277 MB / 0.7359 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.7156, allocations: 0.9583 MB / 0.7368 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003194/0.7188, allocations: 1.852 MB / 0.7386 GB, free: 5.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.7198, allocations: 409.4 kB / 0.739 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.7229, allocations: 1.106 MB / 0.7401 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.7245, allocations: 0.6929 MB / 0.7408 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.7248, allocations: 60 kB / 0.7409 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.7268, allocations: 0.6359 MB / 0.7415 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.7273, allocations: 267.2 kB / 0.7417 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008691/0.7282, allocations: 402.2 kB / 0.7421 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.7309, allocations: 1.312 MB / 0.7434 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7309, allocations: 0 / 0.7434 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7309, allocations: 0 / 0.7434 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.653e-05/0.7309, allocations: 3.984 kB / 0.7434 GB, free: 0.8516 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.00317/0.7341, allocations: 1.109 MB / 0.7445 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7341, allocations: 11.97 kB / 0.7445 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002398/0.7344, allocations: 98.52 kB / 0.7446 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009977/0.7354, allocations: 147.4 kB / 0.7447 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.7365, allocations: 0.5357 MB / 0.7452 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.7367, allocations: 104.4 kB / 0.7453 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.7368, allocations: 48 kB / 0.7454 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.7384, allocations: 0.8097 MB / 0.7462 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.7384, allocations: 7.938 kB / 0.7462 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.7385, allocations: 23.98 kB / 0.7462 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/0.7386, allocations: 36.98 kB / 0.7462 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.7398, allocations: 0.6282 MB / 0.7469 GB, free: 13.11 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.00552/0.7453, allocations: 3.933 MB / 0.7507 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.746, allocations: 341.8 kB / 0.751 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.7463, allocations: 165.3 kB / 0.7512 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.7464, allocations: 85.39 kB / 0.7513 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.7465, allocations: 46.83 kB / 0.7513 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.188e-06/0.7465, allocations: 3.984 kB / 0.7513 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006514/0.753, allocations: 1.676 MB / 0.753 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.7531, allocations: 144.4 kB / 0.7531 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.754, allocations: 0.6095 MB / 0.7537 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.754, allocations: 37.7 kB / 0.7537 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.7544, allocations: 379.8 kB / 0.7541 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.7546, allocations: 150.7 kB / 0.7542 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.7548, allocations: 154.6 kB / 0.7544 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.755, allocations: 378.7 kB / 0.7547 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/0.7554, allocations: 205.9 kB / 0.7549 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.7561, allocations: 0.5125 MB / 0.7554 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7573, allocations: 0.7438 MB / 0.7562 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.7573, allocations: 11.94 kB / 0.7562 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0017/0.759, allocations: 0.8802 MB / 0.757 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.759, allocations: 12.25 kB / 0.757 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.759, allocations: 8 kB / 0.7571 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.7605, allocations: 318.1 kB / 0.7574 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004195/0.7609, allocations: 119.8 kB / 0.7575 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.7622, allocations: 0.9434 MB / 0.7584 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.7628, allocations: 24 kB / 0.7584 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.7629, allocations: 67.98 kB / 0.7585 GB, free: 480 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.0004257/0.7633, allocations: 245.5 kB / 0.7587 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.7635, allocations: 67.58 kB / 0.7588 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.7653, allocations: 0.8609 MB / 0.7596 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7653, allocations: 4 kB / 0.7596 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.7654, allocations: 3.984 kB / 0.7596 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7654, allocations: 0 / 0.7596 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.7679, allocations: 1.461 MB / 0.7611 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7679, allocations: 0 / 0.7611 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.769, allocations: 212 kB / 0.7613 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.7691, allocations: 24.84 kB / 0.7613 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.7691, allocations: 24.61 kB / 0.7613 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.7718, allocations: 2.876 MB / 0.7641 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7718, allocations: 0 / 0.7641 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.7733, allocations: 0.823 MB / 0.7649 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.7736, allocations: 188.7 kB / 0.7651 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.7738, allocations: 8 kB / 0.7651 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.7742, allocations: 24.06 kB / 0.7651 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7743, allocations: 43.89 kB / 0.7652 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/0.7744, allocations: 39.98 kB / 0.7652 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006351/0.775, allocations: 439 kB / 0.7656 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.775, allocations: 3.938 kB / 0.7656 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001053/0.7761, allocations: 267.7 kB / 0.7659 GB, free: 8.395 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.002517/0.7786, allocations: 1.553 MB / 0.7674 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.78, allocations: 0.5351 MB / 0.7679 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.78, allocations: 0 / 0.7679 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7811, allocations: 406.3 kB / 0.7683 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.783, allocations: 367.4 kB / 0.7687 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7933, allocations: 6.317 MB / 0.7748 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.794, allocations: 0.9414 MB / 0.7757 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001101/0.7951, allocations: 466 kB / 0.7762 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.7956, allocations: 279.3 kB / 0.7765 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.7956, allocations: 0 / 0.7765 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/0.8658, allocations: 24.47 MB / 0.8004 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.13, allocations: 11.08 kB / 0.8004 GB, free: 4.863 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.509323413018137]