Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.007691/0.007691, allocations: 109.5 kB / 21.98 MB, free: 5.18 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.001971/0.001971, allocations: 220.2 kB / 25.29 MB, free: 3.203 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.486/1.486, allocations: 230.5 MB / 258.9 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2272/0.2272, allocations: 46.93 MB / 362.3 MB, free: 4.215 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-beta.om/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.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 76.16 kB / 0.4982 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3806, allocations: 66.08 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2299/0.6105, allocations: 178 MB / 0.7366 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3477/0.9582, allocations: 5.368 MB / 0.7418 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.9591, allocations: 30.62 kB / 0.7419 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.9602, allocations: 325.4 kB / 0.7422 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.9638, allocations: 1.371 MB / 0.7435 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.9665, allocations: 1.08 MB / 0.7446 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.9688, allocations: 1.881 MB / 0.7464 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.9694, allocations: 390.8 kB / 0.7468 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.9715, allocations: 1.119 MB / 0.7479 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.9728, allocations: 0.8068 MB / 0.7487 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.9729, allocations: 59.94 kB / 0.7487 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.9744, allocations: 0.642 MB / 0.7494 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.9746, allocations: 267.7 kB / 0.7496 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004367/0.9751, allocations: 396 kB / 0.75 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/0.9767, allocations: 1.311 MB / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9767, allocations: 1.094 kB / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9767, allocations: 0 / 0.7513 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.9767, allocations: 0.9062 kB / 0.7513 GB, free: 1.562 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.00208/0.9788, allocations: 1.047 MB / 0.7523 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.9788, allocations: 10.88 kB / 0.7523 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.9796, allocations: 144 kB / 0.7524 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.9804, allocations: 472.1 kB / 0.7529 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.9805, allocations: 104.9 kB / 0.753 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.9806, allocations: 49.05 kB / 0.753 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.9816, allocations: 0.8187 MB / 0.7538 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.9817, allocations: 3.188 kB / 0.7538 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.9817, allocations: 22.38 kB / 0.7539 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.9818, allocations: 35.03 kB / 0.7539 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008843/0.9827, allocations: 0.6271 MB / 0.7545 GB, free: 16.51 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.004267/0.9869, allocations: 3.895 MB / 0.7583 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.9874, allocations: 339.6 kB / 0.7586 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.9877, allocations: 166.7 kB / 0.7588 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.9878, allocations: 13.94 kB / 0.7588 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.9878, allocations: 43.17 kB / 0.7588 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.9878, allocations: 0.875 kB / 0.7588 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005166/0.993, allocations: 1.604 MB / 0.7604 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.9931, allocations: 138.1 kB / 0.7605 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.9937, allocations: 0.6132 MB / 0.7611 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.9938, allocations: 31.77 kB / 0.7612 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.994, allocations: 373.6 kB / 0.7615 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.9941, allocations: 152.5 kB / 0.7617 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.9943, allocations: 157.3 kB / 0.7618 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.9945, allocations: 378.9 kB / 0.7622 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.9948, allocations: 204 kB / 0.7624 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.9954, allocations: 0.5085 MB / 0.7629 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009486/0.9963, allocations: 0.7575 MB / 0.7636 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.9963, allocations: 4.156 kB / 0.7636 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001309/0.9976, allocations: 0.8791 MB / 0.7645 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9977, allocations: 13.16 kB / 0.7645 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.9977, allocations: 11.66 kB / 0.7645 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.999, allocations: 315.2 kB / 0.7648 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.9993, allocations: 125.4 kB / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1, allocations: 0.9303 MB / 0.7658 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/1.001, allocations: 32.42 kB / 0.7659 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/1.001, allocations: 64.47 kB / 0.7659 GB, free: 11.11 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.0004076/1.001, allocations: 246.6 kB / 0.7662 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.002, allocations: 71.3 kB / 0.7662 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/1.003, allocations: 0.8674 MB / 0.7671 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.003, allocations: 10.36 kB / 0.7671 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.003, allocations: 1.031 kB / 0.7671 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.003, allocations: 2.953 kB / 0.7671 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/1.005, allocations: 1.212 MB / 0.7683 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.005, allocations: 0.8125 kB / 0.7683 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009732/1.006, allocations: 208 kB / 0.7685 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/1.006, allocations: 26.27 kB / 0.7685 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/1.006, allocations: 25.33 kB / 0.7685 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.008, allocations: 2.672 MB / 0.7711 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.008, allocations: 2.469 kB / 0.7711 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.009, allocations: 0.8173 MB / 0.7719 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/1.01, allocations: 122.5 kB / 0.772 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/1.01, allocations: 12.72 kB / 0.7721 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/1.01, allocations: 14.84 kB / 0.7721 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/1.01, allocations: 41.44 kB / 0.7721 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/1.01, allocations: 44.42 kB / 0.7722 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004751/1.011, allocations: 439.3 kB / 0.7726 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.011, allocations: 0 / 0.7726 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009033/1.012, allocations: 252 kB / 0.7728 GB, free: 7.625 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.0006253/1.012, allocations: 289.8 kB / 0.7731 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.013, allocations: 0.5311 MB / 0.7736 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.013, allocations: 2.875 kB / 0.7736 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008674/1.014, allocations: 400.2 kB / 0.774 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.016, allocations: 367.3 kB / 0.7743 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/1.018, allocations: 1.395 MB / 0.7757 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/1.019, allocations: 0.9275 MB / 0.7766 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/1.02, allocations: 132.9 kB / 0.7767 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/1.02, allocations: 3.188 kB / 0.7767 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of Templates: time 0.02192/1.041, allocations: 16.67 MB / 0.793 GB, free: 1.883 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.190994773991406]