Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001205/0.001205, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001327/0.001327, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.32/1.32, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.2054/0.2054, allocations: 46.93 MB / 361.5 MB, free: 4.184 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 83.88 kB / 0.4974 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2804, allocations: 66.07 MB / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1688/0.4492, allocations: 151.2 MB / 0.7096 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007951/0.4571, allocations: 5.646 MB / 0.7151 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.4579, allocations: 31.69 kB / 0.7151 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.459, allocations: 326 kB / 0.7154 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.4612, allocations: 0.8901 MB / 0.7163 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.4639, allocations: 1.058 MB / 0.7173 GB, free: 4.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.4663, allocations: 1.821 MB / 0.7191 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007084/0.467, allocations: 393.6 kB / 0.7195 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.4684, allocations: 0.7902 MB / 0.7203 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.4697, allocations: 0.7553 MB / 0.721 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.4698, allocations: 64 kB / 0.7211 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.4711, allocations: 0.5965 MB / 0.7217 GB, free: 124 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.4714, allocations: 259.2 kB / 0.7219 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.4719, allocations: 398.1 kB / 0.7223 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.4736, allocations: 1.183 MB / 0.7234 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.4736, allocations: 3.938 kB / 0.7234 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4736, allocations: 4 kB / 0.7234 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.4736, allocations: 0 / 0.7234 GB, free: 14.29 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.002172/0.4758, allocations: 0.995 MB / 0.7244 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4758, allocations: 12.02 kB / 0.7244 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.4762, allocations: 96.42 kB / 0.7245 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.4771, allocations: 474.8 kB / 0.725 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.4773, allocations: 160.3 kB / 0.7251 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/0.4774, allocations: 48.38 kB / 0.7252 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.4786, allocations: 0.8149 MB / 0.726 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.4786, allocations: 3.938 kB / 0.726 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.4787, allocations: 27.98 kB / 0.726 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/0.4788, allocations: 36.98 kB / 0.726 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4798, allocations: 0.6595 MB / 0.7267 GB, free: 10.82 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.004627/0.4844, allocations: 3.904 MB / 0.7305 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.4852, allocations: 410.7 kB / 0.7309 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.4855, allocations: 197.4 kB / 0.7311 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.4858, allocations: 60.27 kB / 0.7311 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4858, allocations: 38.89 kB / 0.7312 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.4858, allocations: 0 / 0.7312 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003069/0.4889, allocations: 1.406 MB / 0.7325 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.489, allocations: 136.5 kB / 0.7327 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.4897, allocations: 0.5694 MB / 0.7332 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.4897, allocations: 33.7 kB / 0.7333 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.49, allocations: 367.9 kB / 0.7336 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.4901, allocations: 162.6 kB / 0.7338 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.4903, allocations: 146.6 kB / 0.7339 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4905, allocations: 374.8 kB / 0.7343 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.4909, allocations: 213.9 kB / 0.7345 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.4915, allocations: 0.5169 MB / 0.735 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.4927, allocations: 0.764 MB / 0.7357 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4927, allocations: 0 / 0.7357 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.2253/0.7179, allocations: 0.9034 MB / 0.7366 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.718, allocations: 13.22 kB / 0.7366 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.718, allocations: 9.188 kB / 0.7366 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.7197, allocations: 279.8 kB / 0.7369 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.7202, allocations: 122.5 kB / 0.737 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.7213, allocations: 0.893 MB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.7218, allocations: 27.22 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.7219, allocations: 33.98 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003825/0.7223, allocations: 250.6 kB / 0.7382 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.7225, allocations: 72.47 kB / 0.7382 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.7238, allocations: 0.6924 MB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7238, allocations: 5.047 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.7239, allocations: 7.188 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7239, allocations: 3.641 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.7256, allocations: 1.311 MB / 0.7402 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7256, allocations: 0 / 0.7402 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.7265, allocations: 205 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/0.7266, allocations: 21.12 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.7266, allocations: 17.77 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.7278, allocations: 2.672 MB / 0.7431 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7278, allocations: 5.344 kB / 0.7431 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.7288, allocations: 0.945 MB / 0.744 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.7291, allocations: 129.8 kB / 0.7441 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.7291, allocations: 19.75 kB / 0.7441 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.7295, allocations: 13.81 kB / 0.7441 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.7295, allocations: 42.95 kB / 0.7442 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.7296, allocations: 27.3 kB / 0.7442 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003524/0.7299, allocations: 423.6 kB / 0.7446 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7299, allocations: 3.594 kB / 0.7446 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006469/0.7306, allocations: 220.9 kB / 0.7448 GB, free: 169.5 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002971/0.7309, allocations: 248.5 kB / 0.7451 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009017/0.7318, allocations: 0.5845 MB / 0.7456 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7318, allocations: 0 / 0.7456 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.7326, allocations: 432.9 kB / 0.746 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.7339, allocations: 383.4 kB / 0.7464 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.7354, allocations: 1.439 MB / 0.7478 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.7356, allocations: 0.9306 MB / 0.7487 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.7358, allocations: 79.19 kB / 0.7488 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.7358, allocations: 2.516 kB / 0.7488 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.01341/0.7492, allocations: 15.99 MB / 0.7644 GB, free: 150.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 9.288982823956758]