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.Air.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.00188/0.00188, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002544/0.002544, allocations: 220.1 kB / 24.47 MB, free: 4.359 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.498/1.498, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2331/0.2331, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-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.Air,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.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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [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.002406/0.002406, allocations: 83.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3936, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2296/0.6232, allocations: 178.1 MB / 0.7351 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4273/1.05, allocations: 5.364 MB / 0.7403 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008965/1.051, allocations: 21.62 kB / 0.7404 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009783/1.052, allocations: 328.2 kB / 0.7407 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004288/1.057, allocations: 1.268 MB / 0.7419 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/1.06, allocations: 0.9795 MB / 0.7429 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002713/1.062, allocations: 1.859 MB / 0.7447 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/1.063, allocations: 398.4 kB / 0.7451 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/1.066, allocations: 1.098 MB / 0.7461 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/1.067, allocations: 0.6994 MB / 0.7468 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/1.067, allocations: 60.12 kB / 0.7469 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.068, allocations: 0.6377 MB / 0.7475 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/1.069, allocations: 270.2 kB / 0.7478 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004422/1.069, allocations: 399.1 kB / 0.7481 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/1.071, allocations: 1.313 MB / 0.7494 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/1.071, allocations: 3.406 kB / 0.7494 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/1.071, allocations: 0 / 0.7494 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.071, allocations: 0 / 0.7494 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.003577/1.075, allocations: 1.124 MB / 0.7505 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.075, allocations: 12.53 kB / 0.7505 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009329/1.076, allocations: 137.6 kB / 0.7507 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.077, allocations: 0.5359 MB / 0.7512 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.077, allocations: 106.6 kB / 0.7513 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.077, allocations: 49.05 kB / 0.7513 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/1.079, allocations: 0.8199 MB / 0.7521 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.079, allocations: 0 / 0.7521 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.064e-05/1.079, allocations: 24.31 kB / 0.7522 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.361e-05/1.079, allocations: 46.97 kB / 0.7522 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.08, allocations: 0.6197 MB / 0.7528 GB, free: 16.34 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.00542/1.085, allocations: 3.939 MB / 0.7567 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/1.086, allocations: 342.7 kB / 0.757 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/1.086, allocations: 160.5 kB / 0.7571 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/1.086, allocations: 91.61 kB / 0.7572 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.087, allocations: 40.62 kB / 0.7573 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.414e-06/1.087, allocations: 0.9688 kB / 0.7573 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.006034/1.093, allocations: 1.684 MB / 0.7589 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/1.093, allocations: 132.9 kB / 0.759 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/1.093, allocations: 0.6181 MB / 0.7596 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/1.094, allocations: 38.34 kB / 0.7597 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/1.094, allocations: 372.2 kB / 0.76 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.094, allocations: 145.6 kB / 0.7602 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/1.094, allocations: 162.1 kB / 0.7603 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.094, allocations: 372.4 kB / 0.7607 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/1.095, allocations: 204 kB / 0.7609 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/1.095, allocations: 0.5136 MB / 0.7614 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/1.096, allocations: 0.747 MB / 0.7621 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.096, allocations: 3.938 kB / 0.7621 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00132/1.098, allocations: 0.8851 MB / 0.763 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.098, allocations: 10.97 kB / 0.763 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.098, allocations: 11.28 kB / 0.763 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/1.099, allocations: 312.3 kB / 0.7633 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/1.099, allocations: 128.1 kB / 0.7634 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.101, allocations: 0.9362 MB / 0.7643 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/1.101, allocations: 30.78 kB / 0.7644 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/1.101, allocations: 65.41 kB / 0.7644 GB, free: 10.73 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.0003443/1.101, allocations: 250.8 kB / 0.7647 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/1.102, allocations: 72.06 kB / 0.7647 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.103, allocations: 0.8603 MB / 0.7656 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.103, allocations: 10.25 kB / 0.7656 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.103, allocations: 1.094 kB / 0.7656 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/1.103, allocations: 3.828 kB / 0.7656 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/1.105, allocations: 1.464 MB / 0.767 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.105, allocations: 2.812 kB / 0.767 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.106, allocations: 210.2 kB / 0.7672 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.029e-05/1.106, allocations: 28.83 kB / 0.7672 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.106, allocations: 16.23 kB / 0.7673 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.109, allocations: 2.876 MB / 0.7701 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.109, allocations: 4.984 kB / 0.7701 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.11, allocations: 0.8203 MB / 0.7709 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/1.11, allocations: 192 kB / 0.7711 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.11, allocations: 8.812 kB / 0.7711 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/1.11, allocations: 23.41 kB / 0.7711 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.111, allocations: 44.3 kB / 0.7711 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/1.111, allocations: 47.77 kB / 0.7712 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004927/1.111, allocations: 440.7 kB / 0.7716 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 0.7716 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009537/1.112, allocations: 253.8 kB / 0.7718 GB, free: 6.574 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.0007457/1.113, allocations: 296.4 kB / 0.7721 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.114, allocations: 0.5433 MB / 0.7727 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.114, allocations: 4.891 kB / 0.7727 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/1.115, allocations: 404.5 kB / 0.773 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/1.116, allocations: 376.9 kB / 0.7734 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/1.119, allocations: 1.348 MB / 0.7747 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/1.119, allocations: 0.9348 MB / 0.7756 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009612/1.12, allocations: 467.1 kB / 0.7761 GB, free: 5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/1.12, allocations: 119 kB / 0.7762 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/1.12, allocations: 0 / 0.7762 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.02912/1.15, allocations: 17.94 MB / 0.7937 GB, free: 0.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.741865019779652]