Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001823/0.001823, allocations: 109 kB / 21.1 MB, free: 0.7695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001579/0.001579, allocations: 205.4 kB / 24.38 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 257.7 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.88 MB / 361 MB, free: 4.477 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 75.88 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3901, allocations: 66.02 MB / 0.5607 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2279/0.6181, allocations: 176.2 MB / 0.7327 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4007/1.019, allocations: 5.318 MB / 0.7379 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/1.02, allocations: 30.03 kB / 0.7379 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.021, allocations: 321.7 kB / 0.7382 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004051/1.025, allocations: 1.29 MB / 0.7395 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/1.028, allocations: 0.979 MB / 0.7404 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002874/1.031, allocations: 1.882 MB / 0.7423 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/1.032, allocations: 394.7 kB / 0.7427 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/1.035, allocations: 1.121 MB / 0.7437 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/1.036, allocations: 0.7036 MB / 0.7444 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/1.036, allocations: 68.97 kB / 0.7445 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/1.038, allocations: 0.5633 MB / 0.7451 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/1.038, allocations: 273.8 kB / 0.7453 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/1.039, allocations: 394.5 kB / 0.7457 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/1.041, allocations: 1.299 MB / 0.747 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.041, allocations: 1.203 kB / 0.747 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.562e-06/1.041, allocations: 0 / 0.747 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.041, allocations: 1.094 kB / 0.747 GB, free: 1.594 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.002404/1.043, allocations: 1.119 MB / 0.7481 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.043, allocations: 14.61 kB / 0.7481 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/1.043, allocations: 98.94 kB / 0.7482 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/1.044, allocations: 136.9 kB / 0.7483 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/1.045, allocations: 0.537 MB / 0.7488 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.045, allocations: 100.4 kB / 0.7489 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/1.045, allocations: 47.69 kB / 0.749 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.046, allocations: 0.8181 MB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.046, allocations: 2.625 kB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/1.046, allocations: 22.38 kB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/1.046, allocations: 43.78 kB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/1.047, allocations: 0.6161 MB / 0.7504 GB, free: 16.34 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.00428/1.051, allocations: 3.934 MB / 0.7543 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/1.052, allocations: 342.2 kB / 0.7546 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/1.052, allocations: 164.8 kB / 0.7547 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/1.052, allocations: 90.56 kB / 0.7548 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/1.052, allocations: 45.08 kB / 0.7549 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/1.052, allocations: 0.9375 kB / 0.7549 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005083/1.057, allocations: 1.68 MB / 0.7565 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.057, allocations: 133.3 kB / 0.7566 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006204/1.058, allocations: 0.6118 MB / 0.7572 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/1.058, allocations: 35.55 kB / 0.7573 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/1.058, allocations: 379.5 kB / 0.7576 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/1.058, allocations: 151.6 kB / 0.7578 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/1.059, allocations: 156.8 kB / 0.7579 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.059, allocations: 381 kB / 0.7583 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.059, allocations: 200.7 kB / 0.7585 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/1.06, allocations: 0.5164 MB / 0.759 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/1.061, allocations: 0.7457 MB / 0.7597 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.061, allocations: 6.062 kB / 0.7597 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00129/1.062, allocations: 0.881 MB / 0.7606 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.062, allocations: 10.19 kB / 0.7606 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.062, allocations: 9.156 kB / 0.7606 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/1.063, allocations: 316.8 kB / 0.7609 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/1.064, allocations: 126.6 kB / 0.761 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/1.065, allocations: 0.9392 MB / 0.7619 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/1.065, allocations: 35.66 kB / 0.762 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/1.065, allocations: 69.19 kB / 0.762 GB, free: 10.71 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.0003698/1.066, allocations: 239.2 kB / 0.7623 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.066, allocations: 72.08 kB / 0.7623 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/1.067, allocations: 0.8561 MB / 0.7632 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.067, allocations: 10.06 kB / 0.7632 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.067, allocations: 2.906 kB / 0.7632 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.067, allocations: 1.094 kB / 0.7632 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/1.069, allocations: 1.461 MB / 0.7646 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.069, allocations: 1.812 kB / 0.7646 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009487/1.07, allocations: 216.6 kB / 0.7648 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/1.07, allocations: 23.17 kB / 0.7648 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/1.07, allocations: 23.31 kB / 0.7649 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/1.073, allocations: 2.876 MB / 0.7677 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.073, allocations: 6.031 kB / 0.7677 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/1.074, allocations: 0.8139 MB / 0.7685 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/1.074, allocations: 192.6 kB / 0.7687 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/1.074, allocations: 17.56 kB / 0.7687 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/1.075, allocations: 14.45 kB / 0.7687 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.075, allocations: 43.86 kB / 0.7687 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/1.075, allocations: 41.7 kB / 0.7688 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005351/1.075, allocations: 441.3 kB / 0.7692 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0 / 0.7692 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009557/1.076, allocations: 259 kB / 0.7694 GB, free: 6.574 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.00204/1.078, allocations: 1.544 MB / 0.771 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00121/1.08, allocations: 0.5439 MB / 0.7715 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.08, allocations: 6.031 kB / 0.7715 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/1.081, allocations: 407.3 kB / 0.7719 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.082, allocations: 364.6 kB / 0.7722 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/1.091, allocations: 6.331 MB / 0.7784 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/1.091, allocations: 0.9365 MB / 0.7793 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001105/1.092, allocations: 466.6 kB / 0.7798 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.093, allocations: 280.2 kB / 0.78 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.093, allocations: 4 kB / 0.78 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/1.165, allocations: 24.96 MB / 0.8044 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.07, allocations: 8 kB / 0.8044 GB, free: 7.113 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 17.31057911203243]