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.001476/0.001476, 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.001474/0.001474, allocations: 214.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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2659/0.2659, allocations: 46.97 MB / 361.6 MB, free: 4.027 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.89 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1925/0.5742, allocations: 153.9 MB / 0.7121 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007561/0.5817, allocations: 4.922 MB / 0.7169 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005921/0.5823, allocations: 27.75 kB / 0.7169 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.5832, allocations: 310 kB / 0.7172 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.5867, allocations: 1.281 MB / 0.7185 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.5892, allocations: 0.9963 MB / 0.7195 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.5919, allocations: 1.875 MB / 0.7213 GB, free: 292 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007627/0.5926, allocations: 393.6 kB / 0.7217 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.5953, allocations: 1.109 MB / 0.7227 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.5966, allocations: 0.7086 MB / 0.7234 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5967, allocations: 64 kB / 0.7235 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.598, allocations: 0.5657 MB / 0.724 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.5984, allocations: 271.1 kB / 0.7243 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004361/0.5988, allocations: 334.6 kB / 0.7246 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.6009, allocations: 1.3 MB / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6009, allocations: 0 / 0.7259 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6009, allocations: 7.984 kB / 0.7259 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.6009, 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.002345/0.6033, allocations: 1.042 MB / 0.7269 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.6033, allocations: 8.031 kB / 0.7269 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008567/0.6041, allocations: 147.4 kB / 0.7271 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6052, allocations: 485.3 kB / 0.7275 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.6054, allocations: 159.7 kB / 0.7277 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6055, allocations: 48 kB / 0.7277 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.6075, allocations: 1.135 MB / 0.7288 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.6076, allocations: 11.94 kB / 0.7288 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.6077, allocations: 27.97 kB / 0.7289 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.6077, allocations: 44.92 kB / 0.7289 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6089, allocations: 0.6088 MB / 0.7295 GB, free: 7.602 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.004932/0.6138, allocations: 3.215 MB / 0.7327 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006462/0.6145, allocations: 339.6 kB / 0.733 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.6148, allocations: 157.3 kB / 0.7331 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.526e-05/0.6148, allocations: 20.27 kB / 0.7331 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.6149, allocations: 38.84 kB / 0.7332 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.6149, allocations: 0 / 0.7332 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005674/0.6206, allocations: 1.598 MB / 0.7347 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.6207, allocations: 140.5 kB / 0.7349 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.6214, allocations: 0.5338 MB / 0.7354 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.6215, allocations: 37.7 kB / 0.7354 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/0.6218, allocations: 384.2 kB / 0.7358 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.6219, allocations: 150.7 kB / 0.7359 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.6222, allocations: 154.6 kB / 0.7361 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.6224, allocations: 366.8 kB / 0.7364 GB, free: 252 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.6228, allocations: 205.9 kB / 0.7366 GB, free: 44 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2763/0.8992, allocations: 0.5825 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.9003, allocations: 0.7511 MB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.9003, allocations: 7.344 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001866/0.9022, allocations: 0.8696 MB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.9022, allocations: 10.03 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.9023, allocations: 10.28 kB / 0.7388 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.9036, allocations: 313.7 kB / 0.7391 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.904, allocations: 126.7 kB / 0.7392 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008985/0.9049, allocations: 0.9339 MB / 0.7401 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.9053, allocations: 25.84 kB / 0.7402 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/0.9054, allocations: 68.95 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.0003078/0.9057, allocations: 246.1 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.9058, allocations: 59.86 kB / 0.7405 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.9072, allocations: 0.8714 MB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9072, allocations: 5.875 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9072, allocations: 3 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9072, allocations: 1.969 kB / 0.7414 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.9088, allocations: 1.083 MB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9088, allocations: 1.125 kB / 0.7424 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.9098, allocations: 216.3 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.192e-05/0.9098, allocations: 24.47 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.9099, allocations: 29.08 kB / 0.7427 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.9111, allocations: 2.611 MB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9111, allocations: 7.938 kB / 0.7453 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.9121, allocations: 0.8126 MB / 0.7461 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.9123, allocations: 114.2 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.9124, allocations: 15.94 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.9127, allocations: 21.64 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.9128, allocations: 35.7 kB / 0.7462 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.9129, allocations: 41.97 kB / 0.7463 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003268/0.9132, allocations: 362.3 kB / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9132, allocations: 3.938 kB / 0.7466 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008149/0.914, allocations: 253.8 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.0005166/0.9145, allocations: 280 kB / 0.7471 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009419/0.9155, allocations: 0.526 MB / 0.7476 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9155, allocations: 2.188 kB / 0.7477 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.9163, allocations: 397.6 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.001258/0.9175, allocations: 304 kB / 0.7483 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.9192, allocations: 1.377 MB / 0.7497 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.9195, 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.0003037/0.9198, allocations: 130 kB / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9198, allocations: 0 / 0.7501 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01603/0.9358, allocations: 16.08 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.IdealGases.Air.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] 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: 10.945040142978542]