Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 109.1 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.268/0.268, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 75.89 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6754/0.8313, allocations: 179.7 MB / 0.6634 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.8439, allocations: 8.177 MB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.8449, allocations: 23.81 kB / 0.6714 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.8465, allocations: 318 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/0.8535, allocations: 1.497 MB / 0.6732 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.8574, allocations: 1.15 MB / 0.6743 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003458/0.8609, allocations: 1.849 MB / 0.6761 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.8621, allocations: 465.2 kB / 0.6765 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.8664, allocations: 1.242 MB / 0.6778 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.8682, allocations: 0.6656 MB / 0.6784 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003362/0.8685, allocations: 60 kB / 0.6785 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.8719, allocations: 0.8308 MB / 0.6793 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006112/0.8725, allocations: 259.3 kB / 0.6795 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.8735, allocations: 398.2 kB / 0.6799 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.8769, allocations: 1.418 MB / 0.6813 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8769, allocations: 0 / 0.6813 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8769, allocations: 0 / 0.6813 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.168e-05/0.877, allocations: 4 kB / 0.6813 GB, free: 4.383 MB / 0.5137 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.003891/0.8808, allocations: 1.126 MB / 0.6824 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.8809, allocations: 12.03 kB / 0.6824 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.882, allocations: 131 kB / 0.6825 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.8832, allocations: 0.543 MB / 0.6831 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.8833, allocations: 96.41 kB / 0.6832 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.8834, allocations: 47.98 kB / 0.6832 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.8849, allocations: 0.8136 MB / 0.684 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.885, allocations: 7.922 kB / 0.684 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.8851, allocations: 24 kB / 0.684 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/0.8852, allocations: 36.98 kB / 0.6841 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.8864, allocations: 0.6243 MB / 0.6847 GB, free: 0.75 MB / 0.5137 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.005668/0.8921, allocations: 3.981 MB / 0.6886 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.8927, allocations: 355.6 kB / 0.6889 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.893, allocations: 169.3 kB / 0.6891 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.8935, allocations: 365.4 kB / 0.6894 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.8936, allocations: 38.84 kB / 0.6894 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.925e-06/0.8936, allocations: 0 / 0.6894 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005914/0.8995, allocations: 1.675 MB / 0.6911 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.8997, allocations: 136.5 kB / 0.6912 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009061/0.9006, allocations: 0.6171 MB / 0.6918 GB, free: 9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/0.9007, allocations: 41.7 kB / 0.6918 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.901, allocations: 359 kB / 0.6922 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.9011, allocations: 141.9 kB / 0.6923 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.9014, allocations: 158.5 kB / 0.6925 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.9016, allocations: 374.8 kB / 0.6928 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.902, allocations: 209.8 kB / 0.693 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.9026, allocations: 0.5125 MB / 0.6935 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.9037, allocations: 0.7485 MB / 0.6943 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.9038, allocations: 4 kB / 0.6943 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001646/0.9054, allocations: 0.8757 MB / 0.6951 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.9054, allocations: 8 kB / 0.6951 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.9055, allocations: 12.88 kB / 0.6951 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.9069, allocations: 314.2 kB / 0.6954 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.9073, allocations: 115.8 kB / 0.6956 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.9085, allocations: 0.9346 MB / 0.6965 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.9091, allocations: 31.98 kB / 0.6965 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.9092, allocations: 60 kB / 0.6966 GB, free: 3.785 MB / 0.5294 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.0004098/0.9096, allocations: 253.5 kB / 0.6968 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.9098, allocations: 71.22 kB / 0.6969 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.9112, allocations: 0.6777 MB / 0.6975 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.9112, allocations: 4 kB / 0.6975 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9112, allocations: 4 kB / 0.6975 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.9112, allocations: 3.984 kB / 0.6975 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.9136, allocations: 1.607 MB / 0.6991 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.9136, allocations: 7.938 kB / 0.6991 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.9146, allocations: 207.9 kB / 0.6993 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.9147, allocations: 24.84 kB / 0.6993 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/0.9148, allocations: 19.98 kB / 0.6994 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.9172, allocations: 2.885 MB / 0.7022 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9172, allocations: 0 / 0.7022 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.9185, allocations: 0.8088 MB / 0.703 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.9189, allocations: 196.2 kB / 0.7032 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.9191, allocations: 8 kB / 0.7032 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.9196, allocations: 24.05 kB / 0.7032 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9198, allocations: 35.95 kB / 0.7032 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.9199, allocations: 43.98 kB / 0.7033 GB, free: 12.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007197/0.9206, allocations: 443 kB / 0.7037 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9206, allocations: 0 / 0.7037 GB, free: 11.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00131/0.9219, allocations: 288 kB / 0.704 GB, free: 11.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001201/0.9231, allocations: 378.9 kB / 0.7043 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.9246, allocations: 0.5462 MB / 0.7048 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9246, allocations: 0 / 0.7048 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.9257, allocations: 415.8 kB / 0.7052 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.9274, allocations: 370.6 kB / 0.7056 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.9302, allocations: 1.302 MB / 0.7069 GB, free: 8.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.9311, allocations: 0.9339 MB / 0.7078 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9322, allocations: 258 kB / 0.708 GB, free: 7.449 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.9326, allocations: 103.4 kB / 0.7081 GB, free: 7.348 MB / 0.545 GB Notification: Performance of SimCode: time 2.565e-06/0.9326, allocations: 0 / 0.7081 GB, free: 7.348 MB / 0.545 GB Notification: Performance of Templates: time 0.03913/0.9717, allocations: 18.49 MB / 0.7262 GB, free: 4.875 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches