Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.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.001263/0.001263, allocations: 119 kB / 18.5 MB, free: 4.566 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.001557/0.001557, allocations: 190.9 kB / 21.44 MB, free: 1.633 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.424/1.424, allocations: 225.6 MB / 249.8 MB, free: 3.73 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.2137/0.2137, allocations: 44.91 MB / 349.6 MB, free: 1.73 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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.72 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1057, allocations: 64.26 MB / 0.543 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4326/0.5383, allocations: 151.4 MB / 0.6908 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.5401, allocations: 1.321 MB / 0.6921 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.5401, allocations: 3.281 kB / 0.6921 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.5404, allocations: 42.23 kB / 0.6922 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.5429, allocations: 1.02 MB / 0.6932 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.569e-06/0.5429, allocations: 0 / 0.6932 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.543, allocations: 53.44 kB / 0.6932 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.543, allocations: 0 / 0.6932 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.5431, allocations: 24.36 kB / 0.6932 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.5431, allocations: 29.41 kB / 0.6933 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.5431, allocations: 2.812 kB / 0.6933 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002605/0.5457, allocations: 1.836 MB / 0.6951 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.5458, allocations: 12.59 kB / 0.6951 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.5458, allocations: 19.78 kB / 0.6951 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.547, allocations: 0.8891 MB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.547, allocations: 0 / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.547, allocations: 2.875 kB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.547, allocations: 4 kB / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006896/0.5477, allocations: 0.4921 MB / 0.6965 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5477, allocations: 10.38 kB / 0.6965 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.5478, allocations: 34.75 kB / 0.6965 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.5478, allocations: 3.031 kB / 0.6965 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5479, allocations: 170.2 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5479, allocations: 0 / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.5479, allocations: 3.938 kB / 0.6967 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.5481, allocations: 82.67 kB / 0.6967 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5481, allocations: 4 kB / 0.6968 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.5481, allocations: 2.844 kB / 0.6968 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5481, allocations: 10.45 kB / 0.6968 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.5482, allocations: 54.34 kB / 0.6968 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.5487, allocations: 293.3 kB / 0.6971 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.5487, allocations: 33.38 kB / 0.6971 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.5487, allocations: 10.86 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.549, allocations: 261.8 kB / 0.6974 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5491, allocations: 40.19 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5491, allocations: 0 / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001651/0.5492, allocations: 58.55 kB / 0.6975 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.5493, allocations: 54.66 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.5493, allocations: 100.6 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.5494, allocations: 25.7 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.5494, allocations: 102.2 kB / 0.6978 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.5494, allocations: 22.44 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.5495, allocations: 21.22 kB / 0.6978 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5496, allocations: 310.8 kB / 0.6981 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.5496, allocations: 12.95 kB / 0.6981 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.5497, allocations: 31.44 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.5497, allocations: 53.86 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5497, allocations: 0 / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.5498, allocations: 71.27 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5499, allocations: 10.88 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5499, allocations: 0 / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5499, allocations: 3.312 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.5499, allocations: 21.59 kB / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5499, allocations: 0 / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.55, allocations: 6.484 kB / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.55, allocations: 3.109 kB / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.5501, allocations: 122.7 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.5501, allocations: 3.938 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.5503, allocations: 77.16 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5503, allocations: 2.312 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5503, allocations: 0 / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.5503, allocations: 4.031 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.5504, allocations: 157.3 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5504, allocations: 0 / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.5505, allocations: 11.75 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5505, allocations: 3.938 kB / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.5505, allocations: 0 / 0.6987 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5505, allocations: 5.953 kB / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5505, allocations: 0 / 0.6987 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.5506, allocations: 151.2 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.5507, allocations: 87.62 kB / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5507, allocations: 0 / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.5507, allocations: 0 / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.5507, allocations: 2.281 kB / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5507, allocations: 6.203 kB / 0.6989 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.5508, allocations: 78.34 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5508, allocations: 4 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004202/0.5512, allocations: 139.8 kB / 0.6991 GB, free: 14.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.5522, allocations: 0.9006 MB / 0.7 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5523, allocations: 33.44 kB / 0.7 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5523, allocations: 0 / 0.7 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.5523, allocations: 11.97 kB / 0.7 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5526, allocations: 6.875 kB / 0.7 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.5531, allocations: 231.4 kB / 0.7003 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5534, allocations: 0.6934 MB / 0.7009 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.004e-05/0.5535, allocations: 12.14 kB / 0.701 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.5535, allocations: 15.42 kB / 0.701 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.5535, allocations: 4 kB / 0.701 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.5793, allocations: 4.527 MB / 0.7054 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.539, allocations: 10.55 kB / 0.7054 GB, free: 8.043 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.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.451502506621182]