Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 112.7 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 189.2 kB / 21.44 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 44.91 MB / 349.6 MB, free: 1.742 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 67.31 kB / 491.8 MB, free: 29.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1457, allocations: 64.26 MB / 0.543 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4582/0.6039, allocations: 148.1 MB / 0.6876 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007932/0.6119, allocations: 5.609 MB / 0.6931 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007342/0.6126, allocations: 20.69 kB / 0.6931 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6136, allocations: 334.1 kB / 0.6934 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.6157, allocations: 0.8707 MB / 0.6943 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.6185, allocations: 1.03 MB / 0.6953 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.6207, allocations: 1.799 MB / 0.697 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.6215, allocations: 416.5 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.6229, allocations: 0.7629 MB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.624, allocations: 0.7465 MB / 0.6989 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.6242, allocations: 64 kB / 0.699 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.6256, allocations: 0.5498 MB / 0.6995 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.6259, allocations: 267.2 kB / 0.6998 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.6265, allocations: 402.2 kB / 0.7001 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.6282, allocations: 1.151 MB / 0.7013 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6282, allocations: 0 / 0.7013 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6282, allocations: 0 / 0.7013 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6282, allocations: 0 / 0.7013 GB, free: 12.55 MB / 0.4981 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.002302/0.6305, allocations: 1.074 MB / 0.7023 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6306, allocations: 12.03 kB / 0.7023 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.6307, allocations: 94.7 kB / 0.7024 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003575/0.6311, allocations: 92.45 kB / 0.7025 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/0.632, allocations: 0.5487 MB / 0.703 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.6322, allocations: 101 kB / 0.7031 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.6323, allocations: 48.36 kB / 0.7032 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.6336, allocations: 0.8188 MB / 0.704 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6336, allocations: 4 kB / 0.704 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.6337, allocations: 24 kB / 0.704 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.6338, allocations: 36.98 kB / 0.7041 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6349, allocations: 0.6556 MB / 0.7047 GB, free: 8.875 MB / 0.4981 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.005124/0.64, allocations: 3.963 MB / 0.7086 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.6409, allocations: 400.3 kB / 0.7089 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.6412, allocations: 189.4 kB / 0.7091 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007662/0.642, allocations: 0.7404 MB / 0.7098 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.642, allocations: 42.89 kB / 0.7099 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.275e-06/0.642, allocations: 0 / 0.7099 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00351/0.6455, allocations: 1.566 MB / 0.7114 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.6457, allocations: 136.5 kB / 0.7115 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/0.6464, allocations: 0.5694 MB / 0.7121 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.6464, allocations: 37.7 kB / 0.7121 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.6467, allocations: 355.9 kB / 0.7125 GB, free: 316 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.6469, allocations: 178.5 kB / 0.7126 GB, free: 136 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.6471, allocations: 138.7 kB / 0.7128 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6473, allocations: 370.8 kB / 0.7131 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.6477, allocations: 225.8 kB / 0.7133 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.6483, allocations: 0.5084 MB / 0.7138 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.6494, allocations: 0.764 MB / 0.7146 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6494, allocations: 4 kB / 0.7146 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001661/0.6511, allocations: 0.9097 MB / 0.7155 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.6511, allocations: 17.66 kB / 0.7155 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6511, allocations: 8.875 kB / 0.7155 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.6525, allocations: 280.6 kB / 0.7158 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.6529, allocations: 123.8 kB / 0.7159 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.654, allocations: 0.8862 MB / 0.7168 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6544, allocations: 24 kB / 0.7168 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.6544, allocations: 44.05 kB / 0.7168 GB, free: 11.54 MB / 0.5137 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.0003179/0.6548, allocations: 245.5 kB / 0.7171 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6549, allocations: 67.58 kB / 0.7171 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.6562, allocations: 0.7717 MB / 0.7179 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6562, allocations: 8 kB / 0.7179 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6562, allocations: 0 / 0.7179 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6562, allocations: 7.922 kB / 0.7179 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.6583, allocations: 1.408 MB / 0.7193 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.6583, allocations: 4 kB / 0.7193 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.6593, allocations: 207.7 kB / 0.7195 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-05/0.6594, allocations: 28.97 kB / 0.7195 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.6595, allocations: 12 kB / 0.7195 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/0.6618, allocations: 2.875 MB / 0.7223 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6618, allocations: 0 / 0.7223 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.6633, allocations: 1.013 MB / 0.7233 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.6636, allocations: 208.2 kB / 0.7235 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.6637, allocations: 12 kB / 0.7235 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.6641, allocations: 24.05 kB / 0.7235 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.6642, allocations: 43.67 kB / 0.7236 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.6642, allocations: 19.98 kB / 0.7236 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005496/0.6648, allocations: 435 kB / 0.724 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.6648, allocations: 0 / 0.724 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007739/0.6656, allocations: 219.8 kB / 0.7242 GB, free: 3.477 MB / 0.5137 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.002285/0.6679, allocations: 1.716 MB / 0.7259 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.6691, allocations: 0.5743 MB / 0.7265 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6691, allocations: 5.562 kB / 0.7265 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6702, allocations: 442.7 kB / 0.7269 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6718, allocations: 379.5 kB / 0.7272 GB, free: 336 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.6818, allocations: 6.481 MB / 0.7336 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.6824, allocations: 0.9346 MB / 0.7345 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006643/0.6831, allocations: 205 kB / 0.7347 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.6834, allocations: 243.3 kB / 0.7349 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6834, allocations: 0 / 0.7349 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.7409, allocations: 22.68 MB / 0.7571 GB, free: 1.605 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.93, allocations: 11.92 kB / 0.7571 GB, free: 1.594 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.275477807037532]