Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00137/0.00137, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.001732/0.001732, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] 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.2422/0.2422, allocations: 46.92 MB / 360.8 MB, free: 4.164 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4129, allocations: 66.08 MB / 0.5607 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2387/0.6515, allocations: 178.1 MB / 0.7347 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4249/1.076, allocations: 5.362 MB / 0.7399 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/1.077, allocations: 27.16 kB / 0.7399 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/1.078, allocations: 322.3 kB / 0.7402 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003845/1.082, allocations: 1.293 MB / 0.7415 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/1.085, allocations: 0.9858 MB / 0.7425 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00253/1.087, allocations: 1.878 MB / 0.7443 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/1.088, allocations: 399.4 kB / 0.7447 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/1.09, allocations: 1.118 MB / 0.7458 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/1.091, allocations: 0.6989 MB / 0.7464 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.091, allocations: 61.41 kB / 0.7465 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/1.093, allocations: 0.6415 MB / 0.7471 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003016/1.093, allocations: 273.1 kB / 0.7474 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/1.094, allocations: 394.5 kB / 0.7478 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/1.096, allocations: 1.314 MB / 0.749 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.096, allocations: 1.812 kB / 0.7491 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/1.096, allocations: 1.094 kB / 0.7491 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.398e-05/1.096, allocations: 0 / 0.7491 GB, free: 1.582 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.002551/1.098, allocations: 1.048 MB / 0.7501 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.099, allocations: 9.25 kB / 0.7501 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/1.099, allocations: 94.48 kB / 0.7502 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/1.099, allocations: 147 kB / 0.7503 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/1.1, allocations: 472.1 kB / 0.7508 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.101, allocations: 156.3 kB / 0.7509 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/1.101, allocations: 50 kB / 0.751 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/1.102, allocations: 0.8199 MB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/1.102, allocations: 4.625 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/1.102, allocations: 23.23 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/1.102, allocations: 45.08 kB / 0.7518 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009634/1.103, allocations: 0.6157 MB / 0.7524 GB, free: 16.42 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.004624/1.108, allocations: 3.897 MB / 0.7562 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/1.108, allocations: 342.2 kB / 0.7566 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/1.108, allocations: 160.3 kB / 0.7567 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.361e-05/1.108, allocations: 22.06 kB / 0.7567 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.108, allocations: 40 kB / 0.7568 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/1.108, allocations: 1 kB / 0.7568 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005126/1.114, allocations: 1.601 MB / 0.7583 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/1.114, allocations: 132.1 kB / 0.7585 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/1.114, allocations: 0.6184 MB / 0.7591 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/1.114, allocations: 36.3 kB / 0.7591 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/1.115, allocations: 376.3 kB / 0.7595 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.115, allocations: 150.8 kB / 0.7596 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.115, allocations: 158.5 kB / 0.7598 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.115, allocations: 380 kB / 0.7601 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/1.115, allocations: 202.5 kB / 0.7603 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/1.116, allocations: 0.5142 MB / 0.7608 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/1.117, allocations: 0.7473 MB / 0.7615 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.117, allocations: 3.5 kB / 0.7616 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001317/1.118, allocations: 0.8825 MB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.118, allocations: 11.91 kB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.118, allocations: 10.25 kB / 0.7624 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/1.12, allocations: 310.2 kB / 0.7627 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.12, allocations: 128.3 kB / 0.7629 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/1.121, allocations: 0.9357 MB / 0.7638 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/1.122, allocations: 28.67 kB / 0.7638 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/1.122, allocations: 62.14 kB / 0.7639 GB, free: 11.03 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.0004019/1.122, allocations: 245.3 kB / 0.7641 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.122, allocations: 70.14 kB / 0.7642 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.124, allocations: 0.8684 MB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.124, allocations: 6.125 kB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.124, allocations: 0 / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.124, allocations: 3.422 kB / 0.765 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.126, allocations: 1.212 MB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.126, allocations: 2.109 kB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/1.127, allocations: 213.9 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.419e-05/1.127, allocations: 21.78 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/1.127, allocations: 22.28 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/1.129, allocations: 2.676 MB / 0.7691 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.129, allocations: 0.9688 kB / 0.7691 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.13, allocations: 0.8144 MB / 0.7699 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/1.131, allocations: 122.5 kB / 0.77 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/1.131, allocations: 13.28 kB / 0.77 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/1.131, allocations: 15.44 kB / 0.77 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/1.131, allocations: 45.45 kB / 0.77 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/1.131, allocations: 40.91 kB / 0.7701 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000511/1.132, allocations: 439.7 kB / 0.7705 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.132, allocations: 0 / 0.7705 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009534/1.133, allocations: 258.1 kB / 0.7707 GB, free: 7.543 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.002011/1.135, allocations: 1.541 MB / 0.7722 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.136, allocations: 0.5359 MB / 0.7728 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.136, allocations: 1.062 kB / 0.7728 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000924/1.137, allocations: 411.5 kB / 0.7732 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/1.138, allocations: 366 kB / 0.7735 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/1.146, allocations: 6.337 MB / 0.7797 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/1.147, allocations: 0.9369 MB / 0.7806 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00117/1.148, allocations: 465.2 kB / 0.7811 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/1.149, allocations: 278.8 kB / 0.7813 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/1.149, allocations: 0 / 0.7813 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/1.22, allocations: 24.99 MB / 0.8057 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.5, allocations: 10.11 kB / 0.8057 GB, free: 6.953 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 18.699138457886875]