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.002039/0.002039, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00264/0.00264, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 8 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.2507/0.2507, allocations: 46.94 MB / 360.9 MB, free: 4.27 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.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.002037/0.002037, allocations: 75.83 kB / 0.4967 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4837, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2534/0.7371, allocations: 178.1 MB / 0.7351 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4206/1.158, allocations: 5.368 MB / 0.7403 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/1.159, allocations: 27.22 kB / 0.7403 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.16, allocations: 325.8 kB / 0.7406 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003963/1.164, allocations: 1.293 MB / 0.7419 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/1.167, allocations: 0.9854 MB / 0.7429 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002508/1.169, allocations: 1.874 MB / 0.7447 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/1.17, allocations: 399.9 kB / 0.7451 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/1.172, allocations: 1.115 MB / 0.7462 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/1.174, allocations: 0.7014 MB / 0.7468 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/1.174, allocations: 61.31 kB / 0.7469 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/1.175, allocations: 0.6433 MB / 0.7475 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/1.176, allocations: 274.1 kB / 0.7478 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005051/1.176, allocations: 390.8 kB / 0.7482 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/1.178, allocations: 1.31 MB / 0.7494 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.178, allocations: 4.156 kB / 0.7494 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/1.178, allocations: 0 / 0.7494 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.178, allocations: 0 / 0.7494 GB, free: 1.629 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.002451/1.181, allocations: 1.046 MB / 0.7505 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.181, allocations: 10.78 kB / 0.7505 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008187/1.182, allocations: 148.7 kB / 0.7506 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000931/1.182, allocations: 483.4 kB / 0.7511 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/1.183, allocations: 152.1 kB / 0.7512 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/1.183, allocations: 49.69 kB / 0.7513 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/1.184, allocations: 0.8129 MB / 0.7521 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.184, allocations: 7.109 kB / 0.7521 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/1.184, allocations: 21.53 kB / 0.7521 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/1.184, allocations: 38.06 kB / 0.7521 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/1.185, allocations: 0.622 MB / 0.7527 GB, free: 16.5 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.004815/1.19, allocations: 3.883 MB / 0.7565 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/1.19, allocations: 341.8 kB / 0.7569 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/1.191, allocations: 169.6 kB / 0.757 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/1.191, allocations: 14.34 kB / 0.757 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.191, allocations: 45.41 kB / 0.7571 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/1.191, allocations: 2.812 kB / 0.7571 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005443/1.196, allocations: 1.6 MB / 0.7586 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.196, allocations: 142.4 kB / 0.7588 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/1.197, allocations: 0.6088 MB / 0.7594 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/1.197, allocations: 34.83 kB / 0.7594 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/1.197, allocations: 380.5 kB / 0.7598 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.197, allocations: 148.6 kB / 0.7599 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/1.198, allocations: 157.5 kB / 0.7601 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.198, allocations: 376.3 kB / 0.7604 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/1.198, allocations: 207.1 kB / 0.7606 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/1.199, allocations: 0.5144 MB / 0.7611 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.2, allocations: 0.7512 MB / 0.7619 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.2, allocations: 3.188 kB / 0.7619 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001369/1.201, allocations: 0.8784 MB / 0.7627 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.201, allocations: 7.375 kB / 0.7627 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.201, allocations: 10.62 kB / 0.7627 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/1.203, allocations: 324.7 kB / 0.763 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/1.203, allocations: 123.9 kB / 0.7632 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/1.204, allocations: 0.938 MB / 0.7641 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/1.205, allocations: 28.31 kB / 0.7641 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/1.205, allocations: 69.7 kB / 0.7642 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.0003795/1.205, allocations: 240.7 kB / 0.7644 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.205, allocations: 70.67 kB / 0.7645 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.207, allocations: 0.8665 MB / 0.7653 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.207, allocations: 3.25 kB / 0.7653 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.207, allocations: 3.594 kB / 0.7653 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/1.207, allocations: 3.719 kB / 0.7653 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/1.209, allocations: 1.198 MB / 0.7665 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.209, allocations: 3.016 kB / 0.7665 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/1.21, allocations: 214.3 kB / 0.7667 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.591e-05/1.21, allocations: 25.64 kB / 0.7667 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.21, allocations: 20.22 kB / 0.7667 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/1.213, allocations: 2.678 MB / 0.7694 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.213, allocations: 2.562 kB / 0.7694 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/1.214, allocations: 0.8148 MB / 0.7702 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/1.214, allocations: 121.3 kB / 0.7703 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.902e-05/1.214, allocations: 12.69 kB / 0.7703 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/1.215, allocations: 17.73 kB / 0.7703 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/1.215, allocations: 40.67 kB / 0.7703 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/1.215, allocations: 49.88 kB / 0.7704 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005061/1.215, allocations: 437.9 kB / 0.7708 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.215, allocations: 0 / 0.7708 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009991/1.216, allocations: 261.1 kB / 0.7711 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.0006577/1.217, allocations: 283.8 kB / 0.7713 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.218, allocations: 0.5363 MB / 0.7718 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.218, allocations: 2.562 kB / 0.7718 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/1.219, allocations: 407 kB / 0.7722 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.001621/1.221, allocations: 375 kB / 0.7726 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/1.223, allocations: 1.356 MB / 0.7739 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/1.223, allocations: 0.9292 MB / 0.7748 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001024/1.224, allocations: 466.3 kB / 0.7753 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.225, allocations: 108 kB / 0.7754 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/1.225, allocations: 3.594 kB / 0.7754 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of Templates: time 0.03204/1.257, allocations: 18.1 MB / 0.7931 GB, free: 1.473 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/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: 6.903185463044792]