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.001822/0.001822, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002503/0.002503, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2353/0.2353, allocations: 46.94 MB / 361.7 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] 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.001941/0.001941, allocations: 63.91 kB / 0.4969 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3881, allocations: 66.03 MB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2372/0.6253, allocations: 178.1 MB / 0.7353 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3803/1.006, allocations: 5.357 MB / 0.7406 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/1.006, allocations: 27.47 kB / 0.7406 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008998/1.007, allocations: 327.4 kB / 0.7409 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/1.011, allocations: 1.288 MB / 0.7422 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/1.014, allocations: 0.9861 MB / 0.7431 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002791/1.017, allocations: 1.872 MB / 0.745 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006565/1.017, allocations: 396.1 kB / 0.7453 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/1.02, allocations: 1.118 MB / 0.7464 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/1.021, allocations: 0.7058 MB / 0.7471 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/1.021, allocations: 63.12 kB / 0.7472 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/1.023, allocations: 0.6408 MB / 0.7478 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/1.023, allocations: 278 kB / 0.7481 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005586/1.024, allocations: 392.6 kB / 0.7484 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/1.026, allocations: 1.315 MB / 0.7497 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.026, allocations: 0 / 0.7497 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/1.026, allocations: 1.781 kB / 0.7497 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.026, allocations: 0 / 0.7497 GB, free: 1.617 MB / 0.5606 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.002613/1.028, allocations: 1.043 MB / 0.7508 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.028, allocations: 11.91 kB / 0.7508 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.563e-05/1.028, allocations: 12.91 kB / 0.7508 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/1.029, allocations: 104.5 kB / 0.7509 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/1.029, allocations: 141 kB / 0.751 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/1.03, allocations: 475.1 kB / 0.7515 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/1.03, allocations: 156 kB / 0.7516 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/1.031, allocations: 54.52 kB / 0.7517 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.032, allocations: 0.8116 MB / 0.7525 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.032, allocations: 3.094 kB / 0.7525 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/1.032, allocations: 26.25 kB / 0.7525 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/1.032, allocations: 40 kB / 0.7525 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009468/1.033, allocations: 0.6173 MB / 0.7531 GB, free: 16.46 MB / 0.5762 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.004393/1.037, allocations: 3.891 MB / 0.7569 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/1.038, allocations: 352.3 kB / 0.7573 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/1.038, allocations: 167.6 kB / 0.7574 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/1.038, allocations: 18.22 kB / 0.7574 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/1.038, allocations: 38.84 kB / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/1.038, allocations: 0 / 0.7575 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005687/1.044, allocations: 1.599 MB / 0.759 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.044, allocations: 134.6 kB / 0.7592 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007966/1.045, allocations: 0.6155 MB / 0.7598 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/1.045, allocations: 34.52 kB / 0.7598 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.045, allocations: 378.5 kB / 0.7602 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.045, allocations: 152.6 kB / 0.7603 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/1.045, allocations: 155.5 kB / 0.7605 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.046, allocations: 381.6 kB / 0.7608 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.046, allocations: 204.1 kB / 0.761 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.047, allocations: 0.5159 MB / 0.7615 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/1.048, allocations: 0.7457 MB / 0.7622 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.048, allocations: 5.75 kB / 0.7622 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001554/1.049, allocations: 0.879 MB / 0.7631 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.049, allocations: 10.19 kB / 0.7631 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.049, allocations: 9.344 kB / 0.7631 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/1.051, allocations: 318.2 kB / 0.7634 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/1.051, allocations: 122.2 kB / 0.7635 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/1.052, allocations: 0.9372 MB / 0.7645 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/1.053, allocations: 26.75 kB / 0.7645 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/1.053, allocations: 67.09 kB / 0.7646 GB, free: 11.06 MB / 0.5762 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.0004422/1.053, allocations: 244.5 kB / 0.7648 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.053, allocations: 70.58 kB / 0.7649 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/1.055, allocations: 0.8696 MB / 0.7657 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.055, allocations: 2.781 kB / 0.7657 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.055, allocations: 0.875 kB / 0.7657 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/1.055, allocations: 4.062 kB / 0.7657 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/1.057, allocations: 1.206 MB / 0.7669 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.057, allocations: 0.9375 kB / 0.7669 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009721/1.058, allocations: 210.8 kB / 0.7671 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-05/1.058, allocations: 26.88 kB / 0.7671 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.058, allocations: 21.95 kB / 0.7671 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/1.06, allocations: 2.679 MB / 0.7698 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.06, allocations: 3.281 kB / 0.7698 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.061, allocations: 0.812 MB / 0.7705 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/1.062, allocations: 125.5 kB / 0.7707 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.062, allocations: 10.91 kB / 0.7707 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/1.062, allocations: 14.28 kB / 0.7707 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.062, allocations: 45.02 kB / 0.7707 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/1.062, allocations: 43.56 kB / 0.7708 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005172/1.063, allocations: 440.7 kB / 0.7712 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.063, allocations: 0 / 0.7712 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009657/1.064, allocations: 257 kB / 0.7714 GB, free: 7.578 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.001999/1.066, allocations: 1.55 MB / 0.773 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001096/1.067, allocations: 0.534 MB / 0.7735 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.067, allocations: 0.8125 kB / 0.7735 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/1.068, allocations: 409 kB / 0.7739 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.069, allocations: 371.6 kB / 0.7742 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/1.078, allocations: 6.337 MB / 0.7804 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/1.079, allocations: 0.9339 MB / 0.7813 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00108/1.08, allocations: 464.3 kB / 0.7818 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/1.081, allocations: 282.2 kB / 0.782 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of SimCode: time 1.273e-06/1.081, allocations: 0 / 0.782 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06682/1.147, allocations: 25.04 MB / 0.8065 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.16, allocations: 7.938 kB / 0.8065 GB, free: 7.176 MB / 0.5919 GB " [Timeout remaining time 645] (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: 18.697171581967268]