Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001538/0.001538, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001708/0.001708, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.2407/0.2407, allocations: 46.96 MB / 361.6 MB, free: 4.129 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 63.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3784, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.2041/0.5825, allocations: 153.9 MB / 0.7121 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008163/0.5907, allocations: 4.914 MB / 0.7169 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.5918, allocations: 31.69 kB / 0.7169 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.5929, allocations: 310 kB / 0.7172 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.597, allocations: 1.285 MB / 0.7185 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.6, allocations: 0.9892 MB / 0.7194 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.6029, allocations: 1.875 MB / 0.7213 GB, free: 300 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008166/0.6037, allocations: 381.7 kB / 0.7216 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.6065, allocations: 1.129 MB / 0.7227 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.6078, allocations: 0.7085 MB / 0.7234 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.6079, allocations: 63.94 kB / 0.7235 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.6093, allocations: 0.5618 MB / 0.724 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.6096, allocations: 271.2 kB / 0.7243 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000468/0.6101, allocations: 334.6 kB / 0.7246 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001885/0.612, allocations: 1.308 MB / 0.7259 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.612, allocations: 0 / 0.7259 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.612, allocations: 0 / 0.7259 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.612, allocations: 0 / 0.7259 GB, free: 11.54 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.002386/0.6144, allocations: 1.045 MB / 0.7269 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6144, allocations: 12.03 kB / 0.7269 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.6153, allocations: 139.4 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.6163, allocations: 477.4 kB / 0.7275 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.6165, allocations: 151.8 kB / 0.7277 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6166, allocations: 51.98 kB / 0.7277 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6182, allocations: 1.151 MB / 0.7288 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.6182, allocations: 3.938 kB / 0.7288 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.6183, allocations: 27.98 kB / 0.7289 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.36e-05/0.6184, allocations: 40.92 kB / 0.7289 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6195, allocations: 0.6165 MB / 0.7295 GB, free: 7.605 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.00469/0.6241, allocations: 3.212 MB / 0.7327 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.6248, allocations: 339.6 kB / 0.733 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.6251, allocations: 165.3 kB / 0.7331 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.6252, allocations: 16.27 kB / 0.7331 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.6252, allocations: 38.84 kB / 0.7332 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.555e-06/0.6252, allocations: 0 / 0.7332 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006005/0.6312, allocations: 1.594 MB / 0.7347 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6313, allocations: 136.5 kB / 0.7349 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007121/0.6321, allocations: 0.5416 MB / 0.7354 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.6321, allocations: 33.7 kB / 0.7354 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.6325, allocations: 388.2 kB / 0.7358 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.6326, allocations: 146.7 kB / 0.7359 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.6328, allocations: 158.6 kB / 0.7361 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.633, allocations: 370.8 kB / 0.7364 GB, free: 252 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.6334, allocations: 201.8 kB / 0.7366 GB, free: 48 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3099/0.9433, allocations: 0.5821 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9445, allocations: 0.7573 MB / 0.7379 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.9445, allocations: 3.25 kB / 0.738 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001902/0.9464, allocations: 0.8686 MB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.9464, allocations: 9.438 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.9465, allocations: 10.03 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.948, allocations: 316.3 kB / 0.7391 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.9485, allocations: 130.8 kB / 0.7392 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009689/0.9494, allocations: 0.9294 MB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.9499, allocations: 30.12 kB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.95, allocations: 65.25 kB / 0.7402 GB, free: 173.6 MB / 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.0003241/0.9503, allocations: 255.8 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.9505, allocations: 61.8 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.9519, allocations: 0.8456 MB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9519, allocations: 3.938 kB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9519, allocations: 3.781 kB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.9519, allocations: 3.219 kB / 0.7414 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.9536, allocations: 1.091 MB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9536, allocations: 3.344 kB / 0.7425 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.9546, allocations: 212.2 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.803e-05/0.9547, allocations: 20.7 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.9547, allocations: 23.55 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.956, allocations: 2.622 MB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9561, allocations: 7.969 kB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.957, allocations: 0.811 MB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.9572, allocations: 103 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.722e-05/0.9573, allocations: 15.94 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.9577, allocations: 18.7 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.9578, allocations: 45.14 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.9578, allocations: 46.42 kB / 0.7463 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003232/0.9582, allocations: 362.2 kB / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9582, allocations: 0 / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008513/0.959, allocations: 250.1 kB / 0.7469 GB, free: 168.3 MB / 0.5606 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.0005799/0.9596, allocations: 286.8 kB / 0.7471 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009631/0.9606, allocations: 0.5303 MB / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9606, allocations: 7.188 kB / 0.7477 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008256/0.9614, allocations: 391.3 kB / 0.748 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.9626, allocations: 311.7 kB / 0.7483 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.9644, allocations: 1.379 MB / 0.7497 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.9646, allocations: 332.2 kB / 0.75 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.9649, allocations: 125.8 kB / 0.7501 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.9649, allocations: 0 / 0.7501 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.01581/0.9807, allocations: 16.07 MB / 0.7658 GB, free: 149.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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: 11.322795945015969]