Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.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.001801/0.001801, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002227/0.002227, allocations: 208.4 kB / 23.73 MB, free: 4.387 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2244/0.2244, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3541, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1814/0.5355, allocations: 132.8 MB / 0.6903 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.5377, allocations: 1.308 MB / 0.6915 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.5377, allocations: 0 / 0.6915 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.5381, allocations: 35.83 kB / 0.6916 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.5414, allocations: 1.087 MB / 0.6926 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.033e-06/0.5414, allocations: 4 kB / 0.6926 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.5416, allocations: 67.64 kB / 0.6927 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.5416, allocations: 0 / 0.6927 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.5417, allocations: 31.86 kB / 0.6927 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.5418, allocations: 35.83 kB / 0.6928 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.5418, allocations: 0 / 0.6928 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003277/0.545, allocations: 1.607 MB / 0.6943 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.5451, allocations: 23.86 kB / 0.6944 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.5451, allocations: 11.94 kB / 0.6944 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.5469, allocations: 0.8884 MB / 0.6952 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.5469, allocations: 4 kB / 0.6952 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5469, allocations: 0 / 0.6952 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.5469, allocations: 0 / 0.6952 GB, free: 9.801 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009162/0.5478, allocations: 444.5 kB / 0.6957 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5479, allocations: 8.031 kB / 0.6957 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.5479, allocations: 34.73 kB / 0.6957 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.548, allocations: 8.891 kB / 0.6957 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.5481, allocations: 113.5 kB / 0.6958 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5481, allocations: 3.938 kB / 0.6958 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.5481, allocations: 7.984 kB / 0.6958 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5483, allocations: 85.61 kB / 0.6959 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5483, allocations: 0 / 0.6959 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5483, allocations: 11.98 kB / 0.6959 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.5484, allocations: 11.98 kB / 0.6959 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.5485, allocations: 63.97 kB / 0.696 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.549, allocations: 287.6 kB / 0.6963 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.5491, allocations: 38.56 kB / 0.6963 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.5492, allocations: 16.98 kB / 0.6963 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.5494, allocations: 35.91 kB / 0.6964 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5494, allocations: 30.56 kB / 0.6964 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.5494, allocations: 4 kB / 0.6964 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.000225/0.5496, allocations: 69.62 kB / 0.6965 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.5497, allocations: 51.41 kB / 0.6965 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5498, allocations: 105.8 kB / 0.6966 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.5498, allocations: 29.7 kB / 0.6966 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.5499, allocations: 92.05 kB / 0.6967 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.5499, allocations: 27.77 kB / 0.6967 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.5499, allocations: 21.72 kB / 0.6968 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5501, allocations: 318.8 kB / 0.6971 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.5501, allocations: 8 kB / 0.6971 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.5502, allocations: 39.42 kB / 0.6971 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/0.5503, allocations: 59.36 kB / 0.6972 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5503, allocations: 0 / 0.6972 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001507/0.5504, allocations: 85.5 kB / 0.6973 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5504, allocations: 7.984 kB / 0.6973 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5505, allocations: 4 kB / 0.6973 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5505, allocations: 0 / 0.6973 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.5506, allocations: 16.66 kB / 0.6973 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.5506, allocations: 0 / 0.6973 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.817e-05/0.5506, allocations: 7.953 kB / 0.6973 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5506, allocations: 4 kB / 0.6973 GB, free: 7.473 MB / 0.5294 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 0.0001114/0.5507, allocations: 121.8 kB / 0.6974 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.5508, allocations: 3.938 kB / 0.6974 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.5509, allocations: 89.44 kB / 0.6975 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.551, allocations: 4.109 kB / 0.6975 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.551, allocations: 3.938 kB / 0.6975 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.551, allocations: 0 / 0.6975 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.5512, allocations: 136.7 kB / 0.6976 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5512, allocations: 3.938 kB / 0.6976 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.5512, allocations: 8 kB / 0.6977 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5512, allocations: 0 / 0.6977 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5512, allocations: 7.984 kB / 0.6977 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5512, allocations: 0 / 0.6977 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5512, allocations: 4 kB / 0.6977 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.5514, allocations: 155.4 kB / 0.6978 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.5514, allocations: 11.94 kB / 0.6978 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.5514, allocations: 0 / 0.6978 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.5515, allocations: 0 / 0.6978 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.5515, allocations: 11.98 kB / 0.6978 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.5515, allocations: 0 / 0.6978 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.5516, allocations: 79.28 kB / 0.6979 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5516, allocations: 0 / 0.6979 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005616/0.5521, allocations: 155.5 kB / 0.6981 GB, free: 6.617 MB / 0.5294 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001323/0.5535, allocations: 0.9267 MB / 0.699 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.5536, allocations: 36.03 kB / 0.699 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5536, allocations: 4 kB / 0.699 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.5536, allocations: 19.94 kB / 0.699 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.5539, allocations: 10.64 kB / 0.699 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.5547, allocations: 266 kB / 0.6993 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.971e-05/0.5548, allocations: 75.28 kB / 0.6994 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.5548, allocations: 23.86 kB / 0.6994 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.5549, allocations: 15.44 kB / 0.6994 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.5549, allocations: 0 / 0.6994 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.5888, allocations: 5.541 MB / 0.7048 GB, free: 15.74 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.72, allocations: 20.53 kB / 0.7048 GB, free: 15.73 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 14.682225742843002]